aws-sdk-ssm 1.0.0.rc14 → 1.0.0.rc15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +178 -75
- data/lib/aws-sdk-ssm/client_api.rb +57 -0
- data/lib/aws-sdk-ssm/types.rb +302 -114
- metadata +2 -2
@@ -37,10 +37,15 @@ module Aws::SSM
|
|
37
37
|
AssociationId = Shapes::StringShape.new(name: 'AssociationId')
|
38
38
|
AssociationLimitExceeded = Shapes::StructureShape.new(name: 'AssociationLimitExceeded')
|
39
39
|
AssociationList = Shapes::ListShape.new(name: 'AssociationList')
|
40
|
+
AssociationName = Shapes::StringShape.new(name: 'AssociationName')
|
40
41
|
AssociationOverview = Shapes::StructureShape.new(name: 'AssociationOverview')
|
41
42
|
AssociationStatus = Shapes::StructureShape.new(name: 'AssociationStatus')
|
42
43
|
AssociationStatusAggregatedCount = Shapes::MapShape.new(name: 'AssociationStatusAggregatedCount')
|
43
44
|
AssociationStatusName = Shapes::StringShape.new(name: 'AssociationStatusName')
|
45
|
+
AssociationVersion = Shapes::StringShape.new(name: 'AssociationVersion')
|
46
|
+
AssociationVersionInfo = Shapes::StructureShape.new(name: 'AssociationVersionInfo')
|
47
|
+
AssociationVersionLimitExceeded = Shapes::StructureShape.new(name: 'AssociationVersionLimitExceeded')
|
48
|
+
AssociationVersionList = Shapes::ListShape.new(name: 'AssociationVersionList')
|
44
49
|
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
45
50
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
46
51
|
AutomationActionName = Shapes::StringShape.new(name: 'AutomationActionName')
|
@@ -340,6 +345,7 @@ module Aws::SSM
|
|
340
345
|
InvalidActivation = Shapes::StructureShape.new(name: 'InvalidActivation')
|
341
346
|
InvalidActivationId = Shapes::StructureShape.new(name: 'InvalidActivationId')
|
342
347
|
InvalidAllowedPatternException = Shapes::StructureShape.new(name: 'InvalidAllowedPatternException')
|
348
|
+
InvalidAssociationVersion = Shapes::StructureShape.new(name: 'InvalidAssociationVersion')
|
343
349
|
InvalidAutomationExecutionParametersException = Shapes::StructureShape.new(name: 'InvalidAutomationExecutionParametersException')
|
344
350
|
InvalidAutomationSignalException = Shapes::StructureShape.new(name: 'InvalidAutomationSignalException')
|
345
351
|
InvalidCommandId = Shapes::StructureShape.new(name: 'InvalidCommandId')
|
@@ -409,6 +415,8 @@ module Aws::SSM
|
|
409
415
|
LastResourceDataSyncStatus = Shapes::StringShape.new(name: 'LastResourceDataSyncStatus')
|
410
416
|
LastResourceDataSyncTime = Shapes::TimestampShape.new(name: 'LastResourceDataSyncTime')
|
411
417
|
LastSuccessfulResourceDataSyncTime = Shapes::TimestampShape.new(name: 'LastSuccessfulResourceDataSyncTime')
|
418
|
+
ListAssociationVersionsRequest = Shapes::StructureShape.new(name: 'ListAssociationVersionsRequest')
|
419
|
+
ListAssociationVersionsResult = Shapes::StructureShape.new(name: 'ListAssociationVersionsResult')
|
412
420
|
ListAssociationsRequest = Shapes::StructureShape.new(name: 'ListAssociationsRequest')
|
413
421
|
ListAssociationsResult = Shapes::StructureShape.new(name: 'ListAssociationsResult')
|
414
422
|
ListCommandInvocationsRequest = Shapes::StructureShape.new(name: 'ListCommandInvocationsRequest')
|
@@ -731,15 +739,18 @@ module Aws::SSM
|
|
731
739
|
Association.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
732
740
|
Association.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
733
741
|
Association.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
742
|
+
Association.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
734
743
|
Association.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
735
744
|
Association.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
736
745
|
Association.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastExecutionDate"))
|
737
746
|
Association.add_member(:overview, Shapes::ShapeRef.new(shape: AssociationOverview, location_name: "Overview"))
|
738
747
|
Association.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
748
|
+
Association.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
739
749
|
Association.struct_class = Types::Association
|
740
750
|
|
741
751
|
AssociationDescription.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
742
752
|
AssociationDescription.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
753
|
+
AssociationDescription.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
743
754
|
AssociationDescription.add_member(:date, Shapes::ShapeRef.new(shape: DateTime, location_name: "Date"))
|
744
755
|
AssociationDescription.add_member(:last_update_association_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdateAssociationDate"))
|
745
756
|
AssociationDescription.add_member(:status, Shapes::ShapeRef.new(shape: AssociationStatus, location_name: "Status"))
|
@@ -752,6 +763,7 @@ module Aws::SSM
|
|
752
763
|
AssociationDescription.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
753
764
|
AssociationDescription.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastExecutionDate"))
|
754
765
|
AssociationDescription.add_member(:last_successful_execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastSuccessfulExecutionDate"))
|
766
|
+
AssociationDescription.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
755
767
|
AssociationDescription.struct_class = Types::AssociationDescription
|
756
768
|
|
757
769
|
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription")
|
@@ -778,6 +790,20 @@ module Aws::SSM
|
|
778
790
|
AssociationStatusAggregatedCount.key = Shapes::ShapeRef.new(shape: StatusName)
|
779
791
|
AssociationStatusAggregatedCount.value = Shapes::ShapeRef.new(shape: InstanceCount)
|
780
792
|
|
793
|
+
AssociationVersionInfo.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
794
|
+
AssociationVersionInfo.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
795
|
+
AssociationVersionInfo.add_member(:created_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedDate"))
|
796
|
+
AssociationVersionInfo.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
797
|
+
AssociationVersionInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
798
|
+
AssociationVersionInfo.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
|
799
|
+
AssociationVersionInfo.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
800
|
+
AssociationVersionInfo.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
801
|
+
AssociationVersionInfo.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
802
|
+
AssociationVersionInfo.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
803
|
+
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
804
|
+
|
805
|
+
AssociationVersionList.member = Shapes::ShapeRef.new(shape: AssociationVersionInfo)
|
806
|
+
|
781
807
|
AutomationExecution.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
|
782
808
|
AutomationExecution.add_member(:document_name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "DocumentName"))
|
783
809
|
AutomationExecution.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
@@ -963,6 +989,7 @@ module Aws::SSM
|
|
963
989
|
CreateAssociationBatchRequestEntry.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
964
990
|
CreateAssociationBatchRequestEntry.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
965
991
|
CreateAssociationBatchRequestEntry.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
992
|
+
CreateAssociationBatchRequestEntry.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
966
993
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
967
994
|
|
968
995
|
CreateAssociationBatchResult.add_member(:successful, Shapes::ShapeRef.new(shape: AssociationDescriptionList, location_name: "Successful"))
|
@@ -976,6 +1003,7 @@ module Aws::SSM
|
|
976
1003
|
CreateAssociationRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
977
1004
|
CreateAssociationRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
978
1005
|
CreateAssociationRequest.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
1006
|
+
CreateAssociationRequest.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
979
1007
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
980
1008
|
|
981
1009
|
CreateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -1115,6 +1143,7 @@ module Aws::SSM
|
|
1115
1143
|
DescribeAssociationRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
1116
1144
|
DescribeAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
1117
1145
|
DescribeAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
1146
|
+
DescribeAssociationRequest.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
1118
1147
|
DescribeAssociationRequest.struct_class = Types::DescribeAssociationRequest
|
1119
1148
|
|
1120
1149
|
DescribeAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -1617,6 +1646,7 @@ module Aws::SSM
|
|
1617
1646
|
InstanceAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
1618
1647
|
InstanceAssociation.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
1619
1648
|
InstanceAssociation.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContent, location_name: "Content"))
|
1649
|
+
InstanceAssociation.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
1620
1650
|
InstanceAssociation.struct_class = Types::InstanceAssociation
|
1621
1651
|
|
1622
1652
|
InstanceAssociationList.member = Shapes::ShapeRef.new(shape: InstanceAssociation)
|
@@ -1633,6 +1663,7 @@ module Aws::SSM
|
|
1633
1663
|
InstanceAssociationStatusInfo.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "AssociationId"))
|
1634
1664
|
InstanceAssociationStatusInfo.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
1635
1665
|
InstanceAssociationStatusInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
1666
|
+
InstanceAssociationStatusInfo.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
1636
1667
|
InstanceAssociationStatusInfo.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
1637
1668
|
InstanceAssociationStatusInfo.add_member(:execution_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ExecutionDate"))
|
1638
1669
|
InstanceAssociationStatusInfo.add_member(:status, Shapes::ShapeRef.new(shape: StatusName, location_name: "Status"))
|
@@ -1640,6 +1671,7 @@ module Aws::SSM
|
|
1640
1671
|
InstanceAssociationStatusInfo.add_member(:execution_summary, Shapes::ShapeRef.new(shape: InstanceAssociationExecutionSummary, location_name: "ExecutionSummary"))
|
1641
1672
|
InstanceAssociationStatusInfo.add_member(:error_code, Shapes::ShapeRef.new(shape: AgentErrorCode, location_name: "ErrorCode"))
|
1642
1673
|
InstanceAssociationStatusInfo.add_member(:output_url, Shapes::ShapeRef.new(shape: InstanceAssociationOutputUrl, location_name: "OutputUrl"))
|
1674
|
+
InstanceAssociationStatusInfo.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
1643
1675
|
InstanceAssociationStatusInfo.struct_class = Types::InstanceAssociationStatusInfo
|
1644
1676
|
|
1645
1677
|
InstanceAssociationStatusInfos.member = Shapes::ShapeRef.new(shape: InstanceAssociationStatusInfo)
|
@@ -1769,6 +1801,15 @@ module Aws::SSM
|
|
1769
1801
|
|
1770
1802
|
KeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1771
1803
|
|
1804
|
+
ListAssociationVersionsRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location_name: "AssociationId"))
|
1805
|
+
ListAssociationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1806
|
+
ListAssociationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1807
|
+
ListAssociationVersionsRequest.struct_class = Types::ListAssociationVersionsRequest
|
1808
|
+
|
1809
|
+
ListAssociationVersionsResult.add_member(:association_versions, Shapes::ShapeRef.new(shape: AssociationVersionList, location_name: "AssociationVersions"))
|
1810
|
+
ListAssociationVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1811
|
+
ListAssociationVersionsResult.struct_class = Types::ListAssociationVersionsResult
|
1812
|
+
|
1772
1813
|
ListAssociationsRequest.add_member(:association_filter_list, Shapes::ShapeRef.new(shape: AssociationFilterList, location_name: "AssociationFilterList"))
|
1773
1814
|
ListAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1774
1815
|
ListAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -2373,6 +2414,8 @@ module Aws::SSM
|
|
2373
2414
|
UpdateAssociationRequest.add_member(:output_location, Shapes::ShapeRef.new(shape: InstanceAssociationOutputLocation, location_name: "OutputLocation"))
|
2374
2415
|
UpdateAssociationRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
2375
2416
|
UpdateAssociationRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
|
2417
|
+
UpdateAssociationRequest.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
2418
|
+
UpdateAssociationRequest.add_member(:association_version, Shapes::ShapeRef.new(shape: AssociationVersion, location_name: "AssociationVersion"))
|
2376
2419
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
2377
2420
|
|
2378
2421
|
UpdateAssociationResult.add_member(:association_description, Shapes::ShapeRef.new(shape: AssociationDescription, location_name: "AssociationDescription"))
|
@@ -2782,6 +2825,7 @@ module Aws::SSM
|
|
2782
2825
|
o.input = Shapes::ShapeRef.new(shape: DescribeAssociationRequest)
|
2783
2826
|
o.output = Shapes::ShapeRef.new(shape: DescribeAssociationResult)
|
2784
2827
|
o.errors << Shapes::ShapeRef.new(shape: AssociationDoesNotExist)
|
2828
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion)
|
2785
2829
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2786
2830
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDocument)
|
2787
2831
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInstanceId)
|
@@ -3225,6 +3269,17 @@ module Aws::SSM
|
|
3225
3269
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3226
3270
|
end)
|
3227
3271
|
|
3272
|
+
api.add_operation(:list_association_versions, Seahorse::Model::Operation.new.tap do |o|
|
3273
|
+
o.name = "ListAssociationVersions"
|
3274
|
+
o.http_method = "POST"
|
3275
|
+
o.http_request_uri = "/"
|
3276
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssociationVersionsRequest)
|
3277
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssociationVersionsResult)
|
3278
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3279
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
3280
|
+
o.errors << Shapes::ShapeRef.new(shape: AssociationDoesNotExist)
|
3281
|
+
end)
|
3282
|
+
|
3228
3283
|
api.add_operation(:list_associations, Seahorse::Model::Operation.new.tap do |o|
|
3229
3284
|
o.name = "ListAssociations"
|
3230
3285
|
o.http_method = "POST"
|
@@ -3570,6 +3625,8 @@ module Aws::SSM
|
|
3570
3625
|
o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
|
3571
3626
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDocument)
|
3572
3627
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTarget)
|
3628
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAssociationVersion)
|
3629
|
+
o.errors << Shapes::ShapeRef.new(shape: AssociationVersionLimitExceeded)
|
3573
3630
|
end)
|
3574
3631
|
|
3575
3632
|
api.add_operation(:update_association_status, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -126,6 +126,10 @@ module Aws::SSM
|
|
126
126
|
# with a schedule.
|
127
127
|
# @return [String]
|
128
128
|
#
|
129
|
+
# @!attribute [rw] association_version
|
130
|
+
# The association version.
|
131
|
+
# @return [String]
|
132
|
+
#
|
129
133
|
# @!attribute [rw] document_version
|
130
134
|
# The version of the document used in the association.
|
131
135
|
# @return [String]
|
@@ -147,17 +151,23 @@ module Aws::SSM
|
|
147
151
|
# runs.
|
148
152
|
# @return [String]
|
149
153
|
#
|
154
|
+
# @!attribute [rw] association_name
|
155
|
+
# The association name.
|
156
|
+
# @return [String]
|
157
|
+
#
|
150
158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Association AWS API Documentation
|
151
159
|
#
|
152
160
|
class Association < Struct.new(
|
153
161
|
:name,
|
154
162
|
:instance_id,
|
155
163
|
:association_id,
|
164
|
+
:association_version,
|
156
165
|
:document_version,
|
157
166
|
:targets,
|
158
167
|
:last_execution_date,
|
159
168
|
:overview,
|
160
|
-
:schedule_expression
|
169
|
+
:schedule_expression,
|
170
|
+
:association_name)
|
161
171
|
include Aws::Structure
|
162
172
|
end
|
163
173
|
|
@@ -171,6 +181,10 @@ module Aws::SSM
|
|
171
181
|
# The ID of the instance.
|
172
182
|
# @return [String]
|
173
183
|
#
|
184
|
+
# @!attribute [rw] association_version
|
185
|
+
# The association version.
|
186
|
+
# @return [String]
|
187
|
+
#
|
174
188
|
# @!attribute [rw] date
|
175
189
|
# The date when the association was made.
|
176
190
|
# @return [Time]
|
@@ -221,11 +235,16 @@ module Aws::SSM
|
|
221
235
|
# The last date on which the association was successfully run.
|
222
236
|
# @return [Time]
|
223
237
|
#
|
238
|
+
# @!attribute [rw] association_name
|
239
|
+
# The association name.
|
240
|
+
# @return [String]
|
241
|
+
#
|
224
242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription AWS API Documentation
|
225
243
|
#
|
226
244
|
class AssociationDescription < Struct.new(
|
227
245
|
:name,
|
228
246
|
:instance_id,
|
247
|
+
:association_version,
|
229
248
|
:date,
|
230
249
|
:last_update_association_date,
|
231
250
|
:status,
|
@@ -237,7 +256,8 @@ module Aws::SSM
|
|
237
256
|
:schedule_expression,
|
238
257
|
:output_location,
|
239
258
|
:last_execution_date,
|
240
|
-
:last_successful_execution_date
|
259
|
+
:last_successful_execution_date,
|
260
|
+
:association_name)
|
241
261
|
include Aws::Structure
|
242
262
|
end
|
243
263
|
|
@@ -247,7 +267,7 @@ module Aws::SSM
|
|
247
267
|
# data as a hash:
|
248
268
|
#
|
249
269
|
# {
|
250
|
-
# key: "InstanceId", # required, accepts InstanceId, Name, AssociationId, AssociationStatusName, LastExecutedBefore, LastExecutedAfter
|
270
|
+
# key: "InstanceId", # required, accepts InstanceId, Name, AssociationId, AssociationStatusName, LastExecutedBefore, LastExecutedAfter, AssociationName
|
251
271
|
# value: "AssociationFilterValue", # required
|
252
272
|
# }
|
253
273
|
#
|
@@ -332,6 +352,69 @@ module Aws::SSM
|
|
332
352
|
include Aws::Structure
|
333
353
|
end
|
334
354
|
|
355
|
+
# Information about the association version.
|
356
|
+
#
|
357
|
+
# @!attribute [rw] association_id
|
358
|
+
# The ID created by the system when the association was created.
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @!attribute [rw] association_version
|
362
|
+
# The association version.
|
363
|
+
# @return [String]
|
364
|
+
#
|
365
|
+
# @!attribute [rw] created_date
|
366
|
+
# The date the association version was created.
|
367
|
+
# @return [Time]
|
368
|
+
#
|
369
|
+
# @!attribute [rw] name
|
370
|
+
# The name specified when the association was created.
|
371
|
+
# @return [String]
|
372
|
+
#
|
373
|
+
# @!attribute [rw] document_version
|
374
|
+
# The version of an SSM document used when the association version was
|
375
|
+
# created.
|
376
|
+
# @return [String]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] parameters
|
379
|
+
# Parameters specified when the association version was created.
|
380
|
+
# @return [Hash<String,Array<String>>]
|
381
|
+
#
|
382
|
+
# @!attribute [rw] targets
|
383
|
+
# The targets specified for the association when the association
|
384
|
+
# version was created.
|
385
|
+
# @return [Array<Types::Target>]
|
386
|
+
#
|
387
|
+
# @!attribute [rw] schedule_expression
|
388
|
+
# The cron or rate schedule specified for the association when the
|
389
|
+
# association version was created.
|
390
|
+
# @return [String]
|
391
|
+
#
|
392
|
+
# @!attribute [rw] output_location
|
393
|
+
# The location in Amazon S3 specified for the association when the
|
394
|
+
# association version was created.
|
395
|
+
# @return [Types::InstanceAssociationOutputLocation]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] association_name
|
398
|
+
# The name specified for the association version when the association
|
399
|
+
# version was created.
|
400
|
+
# @return [String]
|
401
|
+
#
|
402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo AWS API Documentation
|
403
|
+
#
|
404
|
+
class AssociationVersionInfo < Struct.new(
|
405
|
+
:association_id,
|
406
|
+
:association_version,
|
407
|
+
:created_date,
|
408
|
+
:name,
|
409
|
+
:document_version,
|
410
|
+
:parameters,
|
411
|
+
:targets,
|
412
|
+
:schedule_expression,
|
413
|
+
:output_location,
|
414
|
+
:association_name)
|
415
|
+
include Aws::Structure
|
416
|
+
end
|
417
|
+
|
335
418
|
# Detailed information about the current state of an individual
|
336
419
|
# Automation execution.
|
337
420
|
#
|
@@ -1063,7 +1146,7 @@ module Aws::SSM
|
|
1063
1146
|
#
|
1064
1147
|
# @!attribute [rw] compliance_type
|
1065
1148
|
# The compliance type. For example, Association (for a State Manager
|
1066
|
-
# association), Patch, or Custom:`string` are all
|
1149
|
+
# association), Patch, or Custom:`string` are all valid compliance
|
1067
1150
|
# types.
|
1068
1151
|
# @return [String]
|
1069
1152
|
#
|
@@ -1097,7 +1180,7 @@ module Aws::SSM
|
|
1097
1180
|
#
|
1098
1181
|
# @!attribute [rw] severity
|
1099
1182
|
# The severity of the compliance status. Severity can be one of the
|
1100
|
-
# following: Critical,
|
1183
|
+
# following: Critical, High, Medium, Low, Informational, Unspecified.
|
1101
1184
|
# @return [String]
|
1102
1185
|
#
|
1103
1186
|
# @!attribute [rw] execution_summary
|
@@ -1194,7 +1277,7 @@ module Aws::SSM
|
|
1194
1277
|
# @return [String]
|
1195
1278
|
#
|
1196
1279
|
# @!attribute [rw] values
|
1197
|
-
# The value
|
1280
|
+
# The value for which to search.
|
1198
1281
|
# @return [Array<String>]
|
1199
1282
|
#
|
1200
1283
|
# @!attribute [rw] type
|
@@ -1347,6 +1430,7 @@ module Aws::SSM
|
|
1347
1430
|
# output_s3_key_prefix: "S3KeyPrefix",
|
1348
1431
|
# },
|
1349
1432
|
# },
|
1433
|
+
# association_name: "AssociationName",
|
1350
1434
|
# },
|
1351
1435
|
# ],
|
1352
1436
|
# }
|
@@ -1389,6 +1473,7 @@ module Aws::SSM
|
|
1389
1473
|
# output_s3_key_prefix: "S3KeyPrefix",
|
1390
1474
|
# },
|
1391
1475
|
# },
|
1476
|
+
# association_name: "AssociationName",
|
1392
1477
|
# }
|
1393
1478
|
#
|
1394
1479
|
# @!attribute [rw] name
|
@@ -1421,6 +1506,10 @@ module Aws::SSM
|
|
1421
1506
|
# request.
|
1422
1507
|
# @return [Types::InstanceAssociationOutputLocation]
|
1423
1508
|
#
|
1509
|
+
# @!attribute [rw] association_name
|
1510
|
+
# Specify a descriptive name for the association.
|
1511
|
+
# @return [String]
|
1512
|
+
#
|
1424
1513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry AWS API Documentation
|
1425
1514
|
#
|
1426
1515
|
class CreateAssociationBatchRequestEntry < Struct.new(
|
@@ -1430,7 +1519,8 @@ module Aws::SSM
|
|
1430
1519
|
:document_version,
|
1431
1520
|
:targets,
|
1432
1521
|
:schedule_expression,
|
1433
|
-
:output_location
|
1522
|
+
:output_location,
|
1523
|
+
:association_name)
|
1434
1524
|
include Aws::Structure
|
1435
1525
|
end
|
1436
1526
|
|
@@ -1474,6 +1564,7 @@ module Aws::SSM
|
|
1474
1564
|
# output_s3_key_prefix: "S3KeyPrefix",
|
1475
1565
|
# },
|
1476
1566
|
# },
|
1567
|
+
# association_name: "AssociationName",
|
1477
1568
|
# }
|
1478
1569
|
#
|
1479
1570
|
# @!attribute [rw] name
|
@@ -1507,6 +1598,10 @@ module Aws::SSM
|
|
1507
1598
|
# the request.
|
1508
1599
|
# @return [Types::InstanceAssociationOutputLocation]
|
1509
1600
|
#
|
1601
|
+
# @!attribute [rw] association_name
|
1602
|
+
# Specify a descriptive name for the association.
|
1603
|
+
# @return [String]
|
1604
|
+
#
|
1510
1605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest AWS API Documentation
|
1511
1606
|
#
|
1512
1607
|
class CreateAssociationRequest < Struct.new(
|
@@ -1516,7 +1611,8 @@ module Aws::SSM
|
|
1516
1611
|
:parameters,
|
1517
1612
|
:targets,
|
1518
1613
|
:schedule_expression,
|
1519
|
-
:output_location
|
1614
|
+
:output_location,
|
1615
|
+
:association_name)
|
1520
1616
|
include Aws::Structure
|
1521
1617
|
end
|
1522
1618
|
|
@@ -1592,7 +1688,7 @@ module Aws::SSM
|
|
1592
1688
|
#
|
1593
1689
|
# @!attribute [rw] description
|
1594
1690
|
# An optional description for the Maintenance Window. We recommend
|
1595
|
-
# specifying a description to help
|
1691
|
+
# specifying a description to help you organize your Maintenance
|
1596
1692
|
# Windows.
|
1597
1693
|
# @return [String]
|
1598
1694
|
#
|
@@ -1611,8 +1707,14 @@ module Aws::SSM
|
|
1611
1707
|
# @return [Integer]
|
1612
1708
|
#
|
1613
1709
|
# @!attribute [rw] allow_unassociated_targets
|
1614
|
-
#
|
1615
|
-
#
|
1710
|
+
# Enables a Maintenance Window task to execute on managed instances,
|
1711
|
+
# even if you have not registered those instances as targets. If
|
1712
|
+
# enabled, then you must specify the unregistered instances (by
|
1713
|
+
# instance ID) when you register a task with the Maintenance Window
|
1714
|
+
#
|
1715
|
+
# If you don't enable this option, then you must specify
|
1716
|
+
# previously-registered targets when you register a task with the
|
1717
|
+
# Maintenance Window.
|
1616
1718
|
# @return [Boolean]
|
1617
1719
|
#
|
1618
1720
|
# @!attribute [rw] client_token
|
@@ -2085,8 +2187,8 @@ module Aws::SSM
|
|
2085
2187
|
#
|
2086
2188
|
# @!attribute [rw] safe
|
2087
2189
|
# The system checks if the target is being referenced by a task. If
|
2088
|
-
# the target is being referenced, the system returns
|
2089
|
-
#
|
2190
|
+
# the target is being referenced, the system returns an error and does
|
2191
|
+
# not deregister the target from the Maintenance Window.
|
2090
2192
|
# @return [Boolean]
|
2091
2193
|
#
|
2092
2194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowRequest AWS API Documentation
|
@@ -2242,6 +2344,7 @@ module Aws::SSM
|
|
2242
2344
|
# name: "DocumentName",
|
2243
2345
|
# instance_id: "InstanceId",
|
2244
2346
|
# association_id: "AssociationId",
|
2347
|
+
# association_version: "AssociationVersion",
|
2245
2348
|
# }
|
2246
2349
|
#
|
2247
2350
|
# @!attribute [rw] name
|
@@ -2256,12 +2359,21 @@ module Aws::SSM
|
|
2256
2359
|
# The association ID for which you want information.
|
2257
2360
|
# @return [String]
|
2258
2361
|
#
|
2362
|
+
# @!attribute [rw] association_version
|
2363
|
+
# Specify the association version to retrieve. To view the latest
|
2364
|
+
# version, either specify `$LATEST` for this parameter, or omit this
|
2365
|
+
# parameter. To view a list of all associations for an instance, use
|
2366
|
+
# ListInstanceAssociations. To get a list of versions for a specific
|
2367
|
+
# association, use ListAssociationVersions.
|
2368
|
+
# @return [String]
|
2369
|
+
#
|
2259
2370
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationRequest AWS API Documentation
|
2260
2371
|
#
|
2261
2372
|
class DescribeAssociationRequest < Struct.new(
|
2262
2373
|
:name,
|
2263
2374
|
:instance_id,
|
2264
|
-
:association_id
|
2375
|
+
:association_id,
|
2376
|
+
:association_version)
|
2265
2377
|
include Aws::Structure
|
2266
2378
|
end
|
2267
2379
|
|
@@ -4369,7 +4481,8 @@ module Aws::SSM
|
|
4369
4481
|
# }
|
4370
4482
|
#
|
4371
4483
|
# @!attribute [rw] window_execution_id
|
4372
|
-
# The ID of the Maintenance Window execution the task is
|
4484
|
+
# The ID of the Maintenance Window execution for which the task is a
|
4485
|
+
# part.
|
4373
4486
|
# @return [String]
|
4374
4487
|
#
|
4375
4488
|
# @!attribute [rw] task_id
|
@@ -4412,7 +4525,7 @@ module Aws::SSM
|
|
4412
4525
|
# @return [String]
|
4413
4526
|
#
|
4414
4527
|
# @!attribute [rw] parameters
|
4415
|
-
# The parameters used at the time the task executed.
|
4528
|
+
# The parameters used at the time that the task executed.
|
4416
4529
|
# @return [String]
|
4417
4530
|
#
|
4418
4531
|
# @!attribute [rw] status
|
@@ -4425,17 +4538,16 @@ module Aws::SSM
|
|
4425
4538
|
# @return [String]
|
4426
4539
|
#
|
4427
4540
|
# @!attribute [rw] start_time
|
4428
|
-
# The time the task started executing on the target.
|
4541
|
+
# The time that the task started executing on the target.
|
4429
4542
|
# @return [Time]
|
4430
4543
|
#
|
4431
4544
|
# @!attribute [rw] end_time
|
4432
|
-
# The time the task finished executing on the target.
|
4545
|
+
# The time that the task finished executing on the target.
|
4433
4546
|
# @return [Time]
|
4434
4547
|
#
|
4435
4548
|
# @!attribute [rw] owner_information
|
4436
|
-
# User-provided value
|
4437
|
-
#
|
4438
|
-
# Window.
|
4549
|
+
# User-provided value to be included in any CloudWatch events raised
|
4550
|
+
# while running tasks for these targets in this Maintenance Window.
|
4439
4551
|
# @return [String]
|
4440
4552
|
#
|
4441
4553
|
# @!attribute [rw] window_target_id
|
@@ -4680,11 +4792,10 @@ module Aws::SSM
|
|
4680
4792
|
# @return [Array<Types::Target>]
|
4681
4793
|
#
|
4682
4794
|
# @!attribute [rw] task_arn
|
4683
|
-
#
|
4684
|
-
#
|
4685
|
-
#
|
4686
|
-
#
|
4687
|
-
# ARN.
|
4795
|
+
# The resource that the task used during execution. For RUN\_COMMAND
|
4796
|
+
# and AUTOMATION task types, the TaskArn is the SSM Document name/ARN.
|
4797
|
+
# For LAMBDA tasks, the value is the function name/ARN. For
|
4798
|
+
# STEP\_FUNCTION tasks, the value is the state machine ARN.
|
4688
4799
|
# @return [String]
|
4689
4800
|
#
|
4690
4801
|
# @!attribute [rw] service_role_arn
|
@@ -4719,7 +4830,7 @@ module Aws::SSM
|
|
4719
4830
|
# @return [String]
|
4720
4831
|
#
|
4721
4832
|
# @!attribute [rw] logging_info
|
4722
|
-
# The location in Amazon S3 where the task results
|
4833
|
+
# The location in Amazon S3 where the task results are logged.
|
4723
4834
|
# @return [Types::LoggingInfo]
|
4724
4835
|
#
|
4725
4836
|
# @!attribute [rw] name
|
@@ -5130,12 +5241,17 @@ module Aws::SSM
|
|
5130
5241
|
# The content of the association document for the instance(s).
|
5131
5242
|
# @return [String]
|
5132
5243
|
#
|
5244
|
+
# @!attribute [rw] association_version
|
5245
|
+
# Version information for the association on the instance.
|
5246
|
+
# @return [String]
|
5247
|
+
#
|
5133
5248
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociation AWS API Documentation
|
5134
5249
|
#
|
5135
5250
|
class InstanceAssociation < Struct.new(
|
5136
5251
|
:association_id,
|
5137
5252
|
:instance_id,
|
5138
|
-
:content
|
5253
|
+
:content,
|
5254
|
+
:association_version)
|
5139
5255
|
include Aws::Structure
|
5140
5256
|
end
|
5141
5257
|
|
@@ -5194,6 +5310,10 @@ module Aws::SSM
|
|
5194
5310
|
# The association document verions.
|
5195
5311
|
# @return [String]
|
5196
5312
|
#
|
5313
|
+
# @!attribute [rw] association_version
|
5314
|
+
# The version of the association applied to the instance.
|
5315
|
+
# @return [String]
|
5316
|
+
#
|
5197
5317
|
# @!attribute [rw] instance_id
|
5198
5318
|
# The instance ID where the association was created.
|
5199
5319
|
# @return [String]
|
@@ -5223,19 +5343,25 @@ module Aws::SSM
|
|
5223
5343
|
# this request.
|
5224
5344
|
# @return [Types::InstanceAssociationOutputUrl]
|
5225
5345
|
#
|
5346
|
+
# @!attribute [rw] association_name
|
5347
|
+
# The name of the association applied to the instance.
|
5348
|
+
# @return [String]
|
5349
|
+
#
|
5226
5350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationStatusInfo AWS API Documentation
|
5227
5351
|
#
|
5228
5352
|
class InstanceAssociationStatusInfo < Struct.new(
|
5229
5353
|
:association_id,
|
5230
5354
|
:name,
|
5231
5355
|
:document_version,
|
5356
|
+
:association_version,
|
5232
5357
|
:instance_id,
|
5233
5358
|
:execution_date,
|
5234
5359
|
:status,
|
5235
5360
|
:detailed_status,
|
5236
5361
|
:execution_summary,
|
5237
5362
|
:error_code,
|
5238
|
-
:output_url
|
5363
|
+
:output_url,
|
5364
|
+
:association_name)
|
5239
5365
|
include Aws::Structure
|
5240
5366
|
end
|
5241
5367
|
|
@@ -5738,13 +5864,64 @@ module Aws::SSM
|
|
5738
5864
|
include Aws::Structure
|
5739
5865
|
end
|
5740
5866
|
|
5867
|
+
# @note When making an API call, you may pass ListAssociationVersionsRequest
|
5868
|
+
# data as a hash:
|
5869
|
+
#
|
5870
|
+
# {
|
5871
|
+
# association_id: "AssociationId", # required
|
5872
|
+
# max_results: 1,
|
5873
|
+
# next_token: "NextToken",
|
5874
|
+
# }
|
5875
|
+
#
|
5876
|
+
# @!attribute [rw] association_id
|
5877
|
+
# The association ID for which you want to view all versions.
|
5878
|
+
# @return [String]
|
5879
|
+
#
|
5880
|
+
# @!attribute [rw] max_results
|
5881
|
+
# The maximum number of items to return for this call. The call also
|
5882
|
+
# returns a token that you can specify in a subsequent call to get the
|
5883
|
+
# next set of results.
|
5884
|
+
# @return [Integer]
|
5885
|
+
#
|
5886
|
+
# @!attribute [rw] next_token
|
5887
|
+
# A token to start the list. Use this token to get the next set of
|
5888
|
+
# results.
|
5889
|
+
# @return [String]
|
5890
|
+
#
|
5891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsRequest AWS API Documentation
|
5892
|
+
#
|
5893
|
+
class ListAssociationVersionsRequest < Struct.new(
|
5894
|
+
:association_id,
|
5895
|
+
:max_results,
|
5896
|
+
:next_token)
|
5897
|
+
include Aws::Structure
|
5898
|
+
end
|
5899
|
+
|
5900
|
+
# @!attribute [rw] association_versions
|
5901
|
+
# Information about all versions of the association for the specified
|
5902
|
+
# association ID.
|
5903
|
+
# @return [Array<Types::AssociationVersionInfo>]
|
5904
|
+
#
|
5905
|
+
# @!attribute [rw] next_token
|
5906
|
+
# The token for the next set of items to return. Use this token to get
|
5907
|
+
# the next set of results.
|
5908
|
+
# @return [String]
|
5909
|
+
#
|
5910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsResult AWS API Documentation
|
5911
|
+
#
|
5912
|
+
class ListAssociationVersionsResult < Struct.new(
|
5913
|
+
:association_versions,
|
5914
|
+
:next_token)
|
5915
|
+
include Aws::Structure
|
5916
|
+
end
|
5917
|
+
|
5741
5918
|
# @note When making an API call, you may pass ListAssociationsRequest
|
5742
5919
|
# data as a hash:
|
5743
5920
|
#
|
5744
5921
|
# {
|
5745
5922
|
# association_filter_list: [
|
5746
5923
|
# {
|
5747
|
-
# key: "InstanceId", # required, accepts InstanceId, Name, AssociationId, AssociationStatusName, LastExecutedBefore, LastExecutedAfter
|
5924
|
+
# key: "InstanceId", # required, accepts InstanceId, Name, AssociationId, AssociationStatusName, LastExecutedBefore, LastExecutedAfter, AssociationName
|
5748
5925
|
# value: "AssociationFilterValue", # required
|
5749
5926
|
# },
|
5750
5927
|
# ],
|
@@ -5960,14 +6137,13 @@ module Aws::SSM
|
|
5960
6137
|
# @return [Array<Types::ComplianceStringFilter>]
|
5961
6138
|
#
|
5962
6139
|
# @!attribute [rw] resource_ids
|
5963
|
-
# The ID for the resources from which
|
5964
|
-
#
|
6140
|
+
# The ID for the resources from which to get compliance information.
|
6141
|
+
# Currently, you can only specify one resource ID.
|
5965
6142
|
# @return [Array<String>]
|
5966
6143
|
#
|
5967
6144
|
# @!attribute [rw] resource_types
|
5968
|
-
# The type of resource from which
|
5969
|
-
#
|
5970
|
-
# `ManagedInstance`.
|
6145
|
+
# The type of resource from which to get compliance information.
|
6146
|
+
# Currently, the only supported resource type is `ManagedInstance`.
|
5971
6147
|
# @return [Array<String>]
|
5972
6148
|
#
|
5973
6149
|
# @!attribute [rw] next_token
|
@@ -6053,7 +6229,7 @@ module Aws::SSM
|
|
6053
6229
|
# A list of compliant and non-compliant summary counts based on
|
6054
6230
|
# compliance types. For example, this call returns State Manager
|
6055
6231
|
# associations, patches, or custom compliance types according to the
|
6056
|
-
# filter criteria you specified.
|
6232
|
+
# filter criteria that you specified.
|
6057
6233
|
# @return [Array<Types::ComplianceSummaryItem>]
|
6058
6234
|
#
|
6059
6235
|
# @!attribute [rw] next_token
|
@@ -6309,8 +6485,8 @@ module Aws::SSM
|
|
6309
6485
|
# @!attribute [rw] resource_compliance_summary_items
|
6310
6486
|
# A summary count for specified or targeted managed instances. Summary
|
6311
6487
|
# count includes information about compliant and non-compliant State
|
6312
|
-
# Manager associations, patch
|
6313
|
-
#
|
6488
|
+
# Manager associations, patch status, or custom items according to the
|
6489
|
+
# filter criteria that you specify.
|
6314
6490
|
# @return [Array<Types::ResourceComplianceSummaryItem>]
|
6315
6491
|
#
|
6316
6492
|
# @!attribute [rw] next_token
|
@@ -6438,7 +6614,7 @@ module Aws::SSM
|
|
6438
6614
|
include Aws::Structure
|
6439
6615
|
end
|
6440
6616
|
|
6441
|
-
#
|
6617
|
+
# The parameters for an AUTOMATION task type.
|
6442
6618
|
#
|
6443
6619
|
# @note When making an API call, you may pass MaintenanceWindowAutomationParameters
|
6444
6620
|
# data as a hash:
|
@@ -6451,12 +6627,11 @@ module Aws::SSM
|
|
6451
6627
|
# }
|
6452
6628
|
#
|
6453
6629
|
# @!attribute [rw] document_version
|
6454
|
-
# The version of an
|
6455
|
-
# execution.
|
6630
|
+
# The version of an Automation document to use during task execution.
|
6456
6631
|
# @return [String]
|
6457
6632
|
#
|
6458
6633
|
# @!attribute [rw] parameters
|
6459
|
-
#
|
6634
|
+
# The parameters for the AUTOMATION task.
|
6460
6635
|
# @return [Hash<String,Array<String>>]
|
6461
6636
|
#
|
6462
6637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowAutomationParameters AWS API Documentation
|
@@ -6700,7 +6875,7 @@ module Aws::SSM
|
|
6700
6875
|
include Aws::Structure
|
6701
6876
|
end
|
6702
6877
|
|
6703
|
-
#
|
6878
|
+
# The parameters for a LAMBDA task type.
|
6704
6879
|
#
|
6705
6880
|
# @note When making an API call, you may pass MaintenanceWindowLambdaParameters
|
6706
6881
|
# data as a hash:
|
@@ -6712,22 +6887,21 @@ module Aws::SSM
|
|
6712
6887
|
# }
|
6713
6888
|
#
|
6714
6889
|
# @!attribute [rw] client_context
|
6715
|
-
#
|
6716
|
-
#
|
6717
|
-
#
|
6718
|
-
# context variable.
|
6890
|
+
# Pass client-specific information to the Lambda function that you are
|
6891
|
+
# invoking. You can then process the client information in your Lambda
|
6892
|
+
# function as you choose through the context variable.
|
6719
6893
|
# @return [String]
|
6720
6894
|
#
|
6721
6895
|
# @!attribute [rw] qualifier
|
6722
|
-
#
|
6723
|
-
#
|
6724
|
-
#
|
6725
|
-
#
|
6726
|
-
#
|
6896
|
+
# (Optional) Specify a Lambda function version or alias name. If you
|
6897
|
+
# specify a function version, the action uses the qualified function
|
6898
|
+
# ARN to invoke a specific Lambda function. If you specify an alias
|
6899
|
+
# name, the action uses the alias ARN to invoke the Lambda function
|
6900
|
+
# version to which the alias points.
|
6727
6901
|
# @return [String]
|
6728
6902
|
#
|
6729
6903
|
# @!attribute [rw] payload
|
6730
|
-
# JSON
|
6904
|
+
# JSON to provide to your Lambda function as input.
|
6731
6905
|
# @return [String]
|
6732
6906
|
#
|
6733
6907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowLambdaParameters AWS API Documentation
|
@@ -6739,7 +6913,7 @@ module Aws::SSM
|
|
6739
6913
|
include Aws::Structure
|
6740
6914
|
end
|
6741
6915
|
|
6742
|
-
#
|
6916
|
+
# The parameters for a RUN\_COMMAND task type.
|
6743
6917
|
#
|
6744
6918
|
# @note When making an API call, you may pass MaintenanceWindowRunCommandParameters
|
6745
6919
|
# data as a hash:
|
@@ -6767,17 +6941,17 @@ module Aws::SSM
|
|
6767
6941
|
# @return [String]
|
6768
6942
|
#
|
6769
6943
|
# @!attribute [rw] document_hash
|
6770
|
-
# The
|
6771
|
-
# created.
|
6944
|
+
# The SHA-256 or SHA-1 hash created by the system when the document
|
6945
|
+
# was created. SHA-1 hashes have been deprecated.
|
6772
6946
|
# @return [String]
|
6773
6947
|
#
|
6774
6948
|
# @!attribute [rw] document_hash_type
|
6775
|
-
#
|
6949
|
+
# SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
|
6776
6950
|
# @return [String]
|
6777
6951
|
#
|
6778
6952
|
# @!attribute [rw] notification_config
|
6779
6953
|
# Configurations for sending notifications about command status
|
6780
|
-
# changes on a per
|
6954
|
+
# changes on a per-instance basis.
|
6781
6955
|
# @return [Types::NotificationConfig]
|
6782
6956
|
#
|
6783
6957
|
# @!attribute [rw] output_s3_bucket_name
|
@@ -6789,16 +6963,16 @@ module Aws::SSM
|
|
6789
6963
|
# @return [String]
|
6790
6964
|
#
|
6791
6965
|
# @!attribute [rw] parameters
|
6792
|
-
#
|
6966
|
+
# The parameters for the RUN\_COMMAND task execution.
|
6793
6967
|
# @return [Hash<String,Array<String>>]
|
6794
6968
|
#
|
6795
6969
|
# @!attribute [rw] service_role_arn
|
6796
|
-
# The IAM service role
|
6970
|
+
# The IAM service role to assume during task execution.
|
6797
6971
|
# @return [String]
|
6798
6972
|
#
|
6799
6973
|
# @!attribute [rw] timeout_seconds
|
6800
6974
|
# If this time is reached and the command has not already started
|
6801
|
-
# executing, it
|
6975
|
+
# executing, it doesn not execute.
|
6802
6976
|
# @return [Integer]
|
6803
6977
|
#
|
6804
6978
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowRunCommandParameters AWS API Documentation
|
@@ -6816,7 +6990,7 @@ module Aws::SSM
|
|
6816
6990
|
include Aws::Structure
|
6817
6991
|
end
|
6818
6992
|
|
6819
|
-
#
|
6993
|
+
# The parameters for the STEP\_FUNCTION execution.
|
6820
6994
|
#
|
6821
6995
|
# @note When making an API call, you may pass MaintenanceWindowStepFunctionsParameters
|
6822
6996
|
# data as a hash:
|
@@ -6901,10 +7075,10 @@ module Aws::SSM
|
|
6901
7075
|
# @return [String]
|
6902
7076
|
#
|
6903
7077
|
# @!attribute [rw] task_arn
|
6904
|
-
#
|
6905
|
-
#
|
6906
|
-
#
|
6907
|
-
#
|
7078
|
+
# The resource that the task uses during execution. For RUN\_COMMAND
|
7079
|
+
# and AUTOMATION task types, `TaskArn` is the SSM document name or
|
7080
|
+
# ARN. For LAMBDA tasks, it's the function name or ARN. For
|
7081
|
+
# STEP\_FUNCTION tasks, it's the state machine ARN.
|
6908
7082
|
# @return [String]
|
6909
7083
|
#
|
6910
7084
|
# @!attribute [rw] type
|
@@ -6974,7 +7148,7 @@ module Aws::SSM
|
|
6974
7148
|
include Aws::Structure
|
6975
7149
|
end
|
6976
7150
|
|
6977
|
-
#
|
7151
|
+
# The parameters for task execution.
|
6978
7152
|
#
|
6979
7153
|
# @note When making an API call, you may pass MaintenanceWindowTaskInvocationParameters
|
6980
7154
|
# data as a hash:
|
@@ -7015,19 +7189,19 @@ module Aws::SSM
|
|
7015
7189
|
# }
|
7016
7190
|
#
|
7017
7191
|
# @!attribute [rw] run_command
|
7018
|
-
#
|
7192
|
+
# The parameters for a RUN\_COMMAND task type.
|
7019
7193
|
# @return [Types::MaintenanceWindowRunCommandParameters]
|
7020
7194
|
#
|
7021
7195
|
# @!attribute [rw] automation
|
7022
|
-
#
|
7196
|
+
# The parameters for a AUTOMATION task type.
|
7023
7197
|
# @return [Types::MaintenanceWindowAutomationParameters]
|
7024
7198
|
#
|
7025
7199
|
# @!attribute [rw] step_functions
|
7026
|
-
#
|
7200
|
+
# The parameters for a STEP\_FUNCTION task type.
|
7027
7201
|
# @return [Types::MaintenanceWindowStepFunctionsParameters]
|
7028
7202
|
#
|
7029
7203
|
# @!attribute [rw] lambda
|
7030
|
-
#
|
7204
|
+
# The parameters for a LAMBDA task type.
|
7031
7205
|
# @return [Types::MaintenanceWindowLambdaParameters]
|
7032
7206
|
#
|
7033
7207
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskInvocationParameters AWS API Documentation
|
@@ -7765,9 +7939,9 @@ module Aws::SSM
|
|
7765
7939
|
# @return [Array<Types::ComplianceItemEntry>]
|
7766
7940
|
#
|
7767
7941
|
# @!attribute [rw] item_content_hash
|
7768
|
-
# MD5 or
|
7769
|
-
# existing information should be overwritten or ignored. If the
|
7770
|
-
# content hashes match,
|
7942
|
+
# MD5 or SHA-256 content hash. The content hash is used to determine
|
7943
|
+
# if existing information should be overwritten or ignored. If the
|
7944
|
+
# content hashes match, the request to put compliance information is
|
7771
7945
|
# ignored.
|
7772
7946
|
# @return [String]
|
7773
7947
|
#
|
@@ -8139,8 +8313,9 @@ module Aws::SSM
|
|
8139
8313
|
# @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
|
8140
8314
|
#
|
8141
8315
|
# @!attribute [rw] task_invocation_parameters
|
8142
|
-
#
|
8143
|
-
# fields that match the task type. All other fields should be
|
8316
|
+
# The parameters that the task should use during execution. Populate
|
8317
|
+
# only the fields that match the task type. All other fields should be
|
8318
|
+
# empty.
|
8144
8319
|
# @return [Types::MaintenanceWindowTaskInvocationParameters]
|
8145
8320
|
#
|
8146
8321
|
# @!attribute [rw] priority
|
@@ -8944,6 +9119,8 @@ module Aws::SSM
|
|
8944
9119
|
# values: ["TargetValue"],
|
8945
9120
|
# },
|
8946
9121
|
# ],
|
9122
|
+
# association_name: "AssociationName",
|
9123
|
+
# association_version: "AssociationVersion",
|
8947
9124
|
# }
|
8948
9125
|
#
|
8949
9126
|
# @!attribute [rw] association_id
|
@@ -8978,6 +9155,17 @@ module Aws::SSM
|
|
8978
9155
|
# The targets of the association.
|
8979
9156
|
# @return [Array<Types::Target>]
|
8980
9157
|
#
|
9158
|
+
# @!attribute [rw] association_name
|
9159
|
+
# The name of the association that you want to update.
|
9160
|
+
# @return [String]
|
9161
|
+
#
|
9162
|
+
# @!attribute [rw] association_version
|
9163
|
+
# This parameter is provided for concurrency control purposes. You
|
9164
|
+
# must specify the latest association version in the service. If you
|
9165
|
+
# want to ensure that this request succeeds, either specify `$LATEST`,
|
9166
|
+
# or omit this parameter.
|
9167
|
+
# @return [String]
|
9168
|
+
#
|
8981
9169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest AWS API Documentation
|
8982
9170
|
#
|
8983
9171
|
class UpdateAssociationRequest < Struct.new(
|
@@ -8987,7 +9175,9 @@ module Aws::SSM
|
|
8987
9175
|
:schedule_expression,
|
8988
9176
|
:output_location,
|
8989
9177
|
:name,
|
8990
|
-
:targets
|
9178
|
+
:targets,
|
9179
|
+
:association_name,
|
9180
|
+
:association_version)
|
8991
9181
|
include Aws::Structure
|
8992
9182
|
end
|
8993
9183
|
|
@@ -9178,9 +9368,9 @@ module Aws::SSM
|
|
9178
9368
|
# @return [Boolean]
|
9179
9369
|
#
|
9180
9370
|
# @!attribute [rw] replace
|
9181
|
-
# If
|
9182
|
-
# CreateMaintenanceWindow
|
9183
|
-
# Optional fields that are not specified
|
9371
|
+
# If True, then all fields that are required by the
|
9372
|
+
# CreateMaintenanceWindow action are also required for this API
|
9373
|
+
# request. Optional fields that are not specified are set to null.
|
9184
9374
|
# @return [Boolean]
|
9185
9375
|
#
|
9186
9376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowRequest AWS API Documentation
|
@@ -9266,15 +9456,15 @@ module Aws::SSM
|
|
9266
9456
|
# }
|
9267
9457
|
#
|
9268
9458
|
# @!attribute [rw] window_id
|
9269
|
-
# The Maintenance Window ID
|
9459
|
+
# The Maintenance Window ID with which to modify the target.
|
9270
9460
|
# @return [String]
|
9271
9461
|
#
|
9272
9462
|
# @!attribute [rw] window_target_id
|
9273
|
-
# The target ID
|
9463
|
+
# The target ID to modify.
|
9274
9464
|
# @return [String]
|
9275
9465
|
#
|
9276
9466
|
# @!attribute [rw] targets
|
9277
|
-
# The targets
|
9467
|
+
# The targets to add or replace.
|
9278
9468
|
# @return [Array<Types::Target>]
|
9279
9469
|
#
|
9280
9470
|
# @!attribute [rw] owner_information
|
@@ -9292,9 +9482,9 @@ module Aws::SSM
|
|
9292
9482
|
# @return [String]
|
9293
9483
|
#
|
9294
9484
|
# @!attribute [rw] replace
|
9295
|
-
# If
|
9296
|
-
# RegisterTargetWithMaintenanceWindow
|
9297
|
-
# API request. Optional fields that are not specified
|
9485
|
+
# If True, then all fields that are required by the
|
9486
|
+
# RegisterTargetWithMaintenanceWindow action are also required for
|
9487
|
+
# this API request. Optional fields that are not specified are set to
|
9298
9488
|
# null.
|
9299
9489
|
# @return [Boolean]
|
9300
9490
|
#
|
@@ -9414,33 +9604,30 @@ module Aws::SSM
|
|
9414
9604
|
# }
|
9415
9605
|
#
|
9416
9606
|
# @!attribute [rw] window_id
|
9417
|
-
# The Maintenance Window ID that contains the task
|
9418
|
-
# modify.
|
9607
|
+
# The Maintenance Window ID that contains the task to modify.
|
9419
9608
|
# @return [String]
|
9420
9609
|
#
|
9421
9610
|
# @!attribute [rw] window_task_id
|
9422
|
-
# The task ID
|
9611
|
+
# The task ID to modify.
|
9423
9612
|
# @return [String]
|
9424
9613
|
#
|
9425
9614
|
# @!attribute [rw] targets
|
9426
|
-
# The targets (either instances or tags)
|
9427
|
-
#
|
9428
|
-
# Key=
|
9429
|
-
# specified using Key=tag\_name,Values=tag\_value.
|
9615
|
+
# The targets (either instances or tags) to modify. Instances are
|
9616
|
+
# specified using Key=instanceids,Values=instanceID\_1,instanceID\_2.
|
9617
|
+
# Tags are specified using Key=tag\_name,Values=tag\_value.
|
9430
9618
|
# @return [Array<Types::Target>]
|
9431
9619
|
#
|
9432
9620
|
# @!attribute [rw] task_arn
|
9433
|
-
# The task ARN
|
9621
|
+
# The task ARN to modify.
|
9434
9622
|
# @return [String]
|
9435
9623
|
#
|
9436
9624
|
# @!attribute [rw] service_role_arn
|
9437
|
-
# The IAM service role ARN
|
9438
|
-
#
|
9625
|
+
# The IAM service role ARN to modify. The system assumes this role
|
9626
|
+
# during task execution.
|
9439
9627
|
# @return [String]
|
9440
9628
|
#
|
9441
9629
|
# @!attribute [rw] task_parameters
|
9442
|
-
# The parameters
|
9443
|
-
# format:
|
9630
|
+
# The parameters to modify. The map has the following format:
|
9444
9631
|
#
|
9445
9632
|
# Key: string, between 1 and 255 characters
|
9446
9633
|
#
|
@@ -9449,14 +9636,15 @@ module Aws::SSM
|
|
9449
9636
|
# @return [Hash<String,Types::MaintenanceWindowTaskParameterValueExpression>]
|
9450
9637
|
#
|
9451
9638
|
# @!attribute [rw] task_invocation_parameters
|
9452
|
-
#
|
9453
|
-
# fields that match the task type. All other fields should be
|
9639
|
+
# The parameters that the task should use during execution. Populate
|
9640
|
+
# only the fields that match the task type. All other fields should be
|
9641
|
+
# empty.
|
9454
9642
|
# @return [Types::MaintenanceWindowTaskInvocationParameters]
|
9455
9643
|
#
|
9456
9644
|
# @!attribute [rw] priority
|
9457
|
-
# The new task priority
|
9458
|
-
#
|
9459
|
-
#
|
9645
|
+
# The new task priority to specify. The lower the number, the higher
|
9646
|
+
# the priority. Tasks that have the same priority are scheduled in
|
9647
|
+
# parallel.
|
9460
9648
|
# @return [Integer]
|
9461
9649
|
#
|
9462
9650
|
# @!attribute [rw] max_concurrency
|
@@ -9466,27 +9654,27 @@ module Aws::SSM
|
|
9466
9654
|
# @return [String]
|
9467
9655
|
#
|
9468
9656
|
# @!attribute [rw] max_errors
|
9469
|
-
# The new `MaxErrors` value
|
9470
|
-
#
|
9471
|
-
#
|
9657
|
+
# The new `MaxErrors` value to specify. `MaxErrors` is the maximum
|
9658
|
+
# number of errors that are allowed before the task stops being
|
9659
|
+
# scheduled.
|
9472
9660
|
# @return [String]
|
9473
9661
|
#
|
9474
9662
|
# @!attribute [rw] logging_info
|
9475
|
-
# The new logging location in Amazon S3
|
9663
|
+
# The new logging location in Amazon S3 to specify.
|
9476
9664
|
# @return [Types::LoggingInfo]
|
9477
9665
|
#
|
9478
9666
|
# @!attribute [rw] name
|
9479
|
-
# The new task name
|
9667
|
+
# The new task name to specify.
|
9480
9668
|
# @return [String]
|
9481
9669
|
#
|
9482
9670
|
# @!attribute [rw] description
|
9483
|
-
# The new task description
|
9671
|
+
# The new task description to specify.
|
9484
9672
|
# @return [String]
|
9485
9673
|
#
|
9486
9674
|
# @!attribute [rw] replace
|
9487
|
-
# If
|
9488
|
-
# RegisterTaskWithMaintenanceWndow
|
9489
|
-
# request. Optional fields that are not specified
|
9675
|
+
# If True, then all fields that are required by the
|
9676
|
+
# RegisterTaskWithMaintenanceWndow action are also required for this
|
9677
|
+
# API request. Optional fields that are not specified are set to null.
|
9490
9678
|
# @return [Boolean]
|
9491
9679
|
#
|
9492
9680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest AWS API Documentation
|
@@ -9510,11 +9698,11 @@ module Aws::SSM
|
|
9510
9698
|
end
|
9511
9699
|
|
9512
9700
|
# @!attribute [rw] window_id
|
9513
|
-
# The Maintenance Window
|
9701
|
+
# The ID of the Maintenance Window that was updated.
|
9514
9702
|
# @return [String]
|
9515
9703
|
#
|
9516
9704
|
# @!attribute [rw] window_task_id
|
9517
|
-
# The Maintenance Window
|
9705
|
+
# The task ID of the Maintenance Window that was updated.
|
9518
9706
|
# @return [String]
|
9519
9707
|
#
|
9520
9708
|
# @!attribute [rw] targets
|