aws-sdk-ssm 1.178.0 → 1.180.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -394,6 +394,8 @@ module Aws::SSM
394
394
  EffectivePatch = Shapes::StructureShape.new(name: 'EffectivePatch')
395
395
  EffectivePatchList = Shapes::ListShape.new(name: 'EffectivePatchList')
396
396
  ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
397
+ ExcludeAccount = Shapes::StringShape.new(name: 'ExcludeAccount')
398
+ ExcludeAccounts = Shapes::ListShape.new(name: 'ExcludeAccounts')
397
399
  ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
398
400
  ExecutionRoleName = Shapes::StringShape.new(name: 'ExecutionRoleName')
399
401
  ExpirationDate = Shapes::TimestampShape.new(name: 'ExpirationDate')
@@ -1170,6 +1172,7 @@ module Aws::SSM
1170
1172
  TargetKey = Shapes::StringShape.new(name: 'TargetKey')
1171
1173
  TargetLocation = Shapes::StructureShape.new(name: 'TargetLocation')
1172
1174
  TargetLocations = Shapes::ListShape.new(name: 'TargetLocations')
1175
+ TargetLocationsURL = Shapes::StringShape.new(name: 'TargetLocationsURL')
1173
1176
  TargetMap = Shapes::MapShape.new(name: 'TargetMap')
1174
1177
  TargetMapKey = Shapes::StringShape.new(name: 'TargetMapKey')
1175
1178
  TargetMapValue = Shapes::StringShape.new(name: 'TargetMapValue')
@@ -1500,6 +1503,7 @@ module Aws::SSM
1500
1503
  AutomationExecution.add_member(:progress_counters, Shapes::ShapeRef.new(shape: ProgressCounters, location_name: "ProgressCounters"))
1501
1504
  AutomationExecution.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1502
1505
  AutomationExecution.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1506
+ AutomationExecution.add_member(:target_locations_url, Shapes::ShapeRef.new(shape: TargetLocationsURL, location_name: "TargetLocationsURL"))
1503
1507
  AutomationExecution.add_member(:automation_subtype, Shapes::ShapeRef.new(shape: AutomationSubtype, location_name: "AutomationSubtype"))
1504
1508
  AutomationExecution.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledTime"))
1505
1509
  AutomationExecution.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, location_name: "Runbooks"))
@@ -1544,6 +1548,7 @@ module Aws::SSM
1544
1548
  AutomationExecutionMetadata.add_member(:automation_type, Shapes::ShapeRef.new(shape: AutomationType, location_name: "AutomationType"))
1545
1549
  AutomationExecutionMetadata.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
1546
1550
  AutomationExecutionMetadata.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
1551
+ AutomationExecutionMetadata.add_member(:target_locations_url, Shapes::ShapeRef.new(shape: TargetLocationsURL, location_name: "TargetLocationsURL"))
1547
1552
  AutomationExecutionMetadata.add_member(:automation_subtype, Shapes::ShapeRef.new(shape: AutomationSubtype, location_name: "AutomationSubtype"))
1548
1553
  AutomationExecutionMetadata.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledTime"))
1549
1554
  AutomationExecutionMetadata.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, location_name: "Runbooks"))
@@ -2489,6 +2494,8 @@ module Aws::SSM
2489
2494
 
2490
2495
  EffectivePatchList.member = Shapes::ShapeRef.new(shape: EffectivePatch)
2491
2496
 
2497
+ ExcludeAccounts.member = Shapes::ShapeRef.new(shape: ExcludeAccount)
2498
+
2492
2499
  FailedCreateAssociation.add_member(:entry, Shapes::ShapeRef.new(shape: CreateAssociationBatchRequestEntry, location_name: "Entry"))
2493
2500
  FailedCreateAssociation.add_member(:message, Shapes::ShapeRef.new(shape: BatchErrorMessage, location_name: "Message"))
2494
2501
  FailedCreateAssociation.add_member(:fault, Shapes::ShapeRef.new(shape: Fault, location_name: "Fault"))
@@ -4437,6 +4444,7 @@ module Aws::SSM
4437
4444
  StartAutomationExecutionRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
4438
4445
  StartAutomationExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
4439
4446
  StartAutomationExecutionRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
4447
+ StartAutomationExecutionRequest.add_member(:target_locations_url, Shapes::ShapeRef.new(shape: TargetLocationsURL, location_name: "TargetLocationsURL"))
4440
4448
  StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
4441
4449
 
4442
4450
  StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -4537,6 +4545,11 @@ module Aws::SSM
4537
4545
  TargetLocation.add_member(:target_location_max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "TargetLocationMaxErrors", metadata: {"box"=>true}))
4538
4546
  TargetLocation.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName", metadata: {"box"=>true}))
4539
4547
  TargetLocation.add_member(:target_location_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "TargetLocationAlarmConfiguration", metadata: {"box"=>true}))
4548
+ TargetLocation.add_member(:include_child_organization_units, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeChildOrganizationUnits"))
4549
+ TargetLocation.add_member(:exclude_accounts, Shapes::ShapeRef.new(shape: ExcludeAccounts, location_name: "ExcludeAccounts"))
4550
+ TargetLocation.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
4551
+ TargetLocation.add_member(:targets_max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "TargetsMaxConcurrency"))
4552
+ TargetLocation.add_member(:targets_max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "TargetsMaxErrors"))
4540
4553
  TargetLocation.struct_class = Types::TargetLocation
4541
4554
 
4542
4555
  TargetLocations.member = Shapes::ShapeRef.new(shape: TargetLocation)
@@ -15,11 +15,11 @@ module Aws::SSM
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::SSM::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::SSM::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::SSM::EndpointParameters`.
22
+ DOCS
23
23
  Aws::SSM::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::SSM
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59