@@ -228,42 +228,90 @@ namespace Model
228228
229229
230230 /* *
231- * <p>The instance ID.</p>
231+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
232+ * To specify an instance ID for an association, use the <code>Targets</code>
233+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
234+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
235+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
236+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
237+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
232238 */
233239 inline const Aws::String& GetInstanceId () const { return m_instanceId; }
234240
235241 /* *
236- * <p>The instance ID.</p>
242+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
243+ * To specify an instance ID for an association, use the <code>Targets</code>
244+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
245+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
246+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
247+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
248+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
237249 */
238250 inline bool InstanceIdHasBeenSet () const { return m_instanceIdHasBeenSet; }
239251
240252 /* *
241- * <p>The instance ID.</p>
253+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
254+ * To specify an instance ID for an association, use the <code>Targets</code>
255+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
256+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
257+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
258+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
259+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
242260 */
243261 inline void SetInstanceId (const Aws::String& value) { m_instanceIdHasBeenSet = true ; m_instanceId = value; }
244262
245263 /* *
246- * <p>The instance ID.</p>
264+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
265+ * To specify an instance ID for an association, use the <code>Targets</code>
266+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
267+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
268+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
269+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
270+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
247271 */
248272 inline void SetInstanceId (Aws::String&& value) { m_instanceIdHasBeenSet = true ; m_instanceId = std::move (value); }
249273
250274 /* *
251- * <p>The instance ID.</p>
275+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
276+ * To specify an instance ID for an association, use the <code>Targets</code>
277+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
278+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
279+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
280+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
281+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
252282 */
253283 inline void SetInstanceId (const char * value) { m_instanceIdHasBeenSet = true ; m_instanceId.assign (value); }
254284
255285 /* *
256- * <p>The instance ID.</p>
286+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
287+ * To specify an instance ID for an association, use the <code>Targets</code>
288+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
289+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
290+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
291+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
292+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
257293 */
258294 inline CreateAssociationRequest& WithInstanceId (const Aws::String& value) { SetInstanceId (value); return *this ;}
259295
260296 /* *
261- * <p>The instance ID.</p>
297+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
298+ * To specify an instance ID for an association, use the <code>Targets</code>
299+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
300+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
301+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
302+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
303+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
262304 */
263305 inline CreateAssociationRequest& WithInstanceId (Aws::String&& value) { SetInstanceId (std::move (value)); return *this ;}
264306
265307 /* *
266- * <p>The instance ID.</p>
308+ * <p>The instance ID.</p> <note> <p> <code>InstanceId</code> has been deprecated.
309+ * To specify an instance ID for an association, use the <code>Targets</code>
310+ * parameter. If you use the parameter <code>InstanceId</code>, you cannot use the
311+ * parameters <code>AssociationName</code>, <code>DocumentVersion</code>,
312+ * <code>MaxErrors</code>, <code>MaxConcurrency</code>,
313+ * <code>OutputLocation</code>, or <code>ScheduleExpression</code>. To use these
314+ * parameters, you must use the <code>Targets</code> parameter.</p> </note>
267315 */
268316 inline CreateAssociationRequest& WithInstanceId (const char * value) { SetInstanceId (value); return *this ;}
269317
@@ -330,42 +378,58 @@ namespace Model
330378
331379
332380 /* *
333- * <p>The targets (either instances or tags) for the association.</p>
381+ * <p>The targets (either instances or tags) for the association. You must specify
382+ * a value for <code>Targets</code> if you don't specify a value for
383+ * <code>InstanceId</code>.</p>
334384 */
335385 inline const Aws::Vector<Target>& GetTargets () const { return m_targets; }
336386
337387 /* *
338- * <p>The targets (either instances or tags) for the association.</p>
388+ * <p>The targets (either instances or tags) for the association. You must specify
389+ * a value for <code>Targets</code> if you don't specify a value for
390+ * <code>InstanceId</code>.</p>
339391 */
340392 inline bool TargetsHasBeenSet () const { return m_targetsHasBeenSet; }
341393
342394 /* *
343- * <p>The targets (either instances or tags) for the association.</p>
395+ * <p>The targets (either instances or tags) for the association. You must specify
396+ * a value for <code>Targets</code> if you don't specify a value for
397+ * <code>InstanceId</code>.</p>
344398 */
345399 inline void SetTargets (const Aws::Vector<Target>& value) { m_targetsHasBeenSet = true ; m_targets = value; }
346400
347401 /* *
348- * <p>The targets (either instances or tags) for the association.</p>
402+ * <p>The targets (either instances or tags) for the association. You must specify
403+ * a value for <code>Targets</code> if you don't specify a value for
404+ * <code>InstanceId</code>.</p>
349405 */
350406 inline void SetTargets (Aws::Vector<Target>&& value) { m_targetsHasBeenSet = true ; m_targets = std::move (value); }
351407
352408 /* *
353- * <p>The targets (either instances or tags) for the association.</p>
409+ * <p>The targets (either instances or tags) for the association. You must specify
410+ * a value for <code>Targets</code> if you don't specify a value for
411+ * <code>InstanceId</code>.</p>
354412 */
355413 inline CreateAssociationRequest& WithTargets (const Aws::Vector<Target>& value) { SetTargets (value); return *this ;}
356414
357415 /* *
358- * <p>The targets (either instances or tags) for the association.</p>
416+ * <p>The targets (either instances or tags) for the association. You must specify
417+ * a value for <code>Targets</code> if you don't specify a value for
418+ * <code>InstanceId</code>.</p>
359419 */
360420 inline CreateAssociationRequest& WithTargets (Aws::Vector<Target>&& value) { SetTargets (std::move (value)); return *this ;}
361421
362422 /* *
363- * <p>The targets (either instances or tags) for the association.</p>
423+ * <p>The targets (either instances or tags) for the association. You must specify
424+ * a value for <code>Targets</code> if you don't specify a value for
425+ * <code>InstanceId</code>.</p>
364426 */
365427 inline CreateAssociationRequest& AddTargets (const Target& value) { m_targetsHasBeenSet = true ; m_targets.push_back (value); return *this ; }
366428
367429 /* *
368- * <p>The targets (either instances or tags) for the association.</p>
430+ * <p>The targets (either instances or tags) for the association. You must specify
431+ * a value for <code>Targets</code> if you don't specify a value for
432+ * <code>InstanceId</code>.</p>
369433 */
370434 inline CreateAssociationRequest& AddTargets (Target&& value) { m_targetsHasBeenSet = true ; m_targets.push_back (std::move (value)); return *this ; }
371435
0 commit comments