aws-sdk-ssm 1.127.0 → 1.128.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3464fe169e9ba162b9f958c4cbcb4600fefaecb01b4059f242426cb3f7811ab1
4
- data.tar.gz: 8dda0c55f076aa8cd9bb9deaf4522935287d0f260268fc2f407a1b5b8af52df2
3
+ metadata.gz: fc8184ab73ca6d24861fe26efa8304ab82494c1d18ce1d37f20873b5a13419bc
4
+ data.tar.gz: 39e50d9abaed07dc98e5b6fd3b4e422c1ae149c99cc21ccaa514772cc9aab7d3
5
5
  SHA512:
6
- metadata.gz: 3db9b576377d41d5432867ad1ddcce103c7489290b9cd37bebbacd71e72eae60b93650cf5897e04af13a6036f2d6a59fc92a535ac4f86c7ef62037551829d60c
7
- data.tar.gz: 8f2108f071afbdb5b4ffa41dab4318e8c21b0a7947e35ce91a7edeb2365428c800b9c4366861d1ce8251cfd88ab354ee1fe455a8ffaa14a0bb9d736cba9fb382
6
+ metadata.gz: 867880b008187e096e1d04c15040150ec9c780eab207bba48924ed6f54b1e519e95c1bc635ab0be6686c81104640243dc175b0346e0901451cbd31a7aa262d5c
7
+ data.tar.gz: 9c177f25b746ef88b62fd39e8cb3b2e971c3dcdf61330ae90460f6234aa6f323e18c66906e0ba5b6ee009e75349f23786a2ac75049c07bb75bbcefdd9d101df6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.128.0 (2022-01-13)
5
+ ------------------
6
+
7
+ * Feature - AWS Systems Manager adds category support for DescribeDocument API
8
+
4
9
  1.127.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.127.0
1
+ 1.128.0
@@ -741,6 +741,14 @@ module Aws::SSM
741
741
  # The document version you want to associate with the target(s). Can be
742
742
  # a specific version or the default version.
743
743
  #
744
+ # State Manager doesn't support running associations that use a new
745
+ # version of a document if that document is shared from another account.
746
+ # State Manager always runs the `default` version of a document if
747
+ # shared from another account, even though the Systems Manager console
748
+ # shows that a new version was processed. If you want to run an
749
+ # association using a new version of a document shared form another
750
+ # account, you must set the document version to `default`.
751
+ #
744
752
  # @option params [String] :instance_id
745
753
  # The managed node ID.
746
754
  #
@@ -1306,6 +1314,10 @@ module Aws::SSM
1306
1314
  # resp.document_description.approved_version #=> String
1307
1315
  # resp.document_description.pending_review_version #=> String
1308
1316
  # resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
1317
+ # resp.document_description.category #=> Array
1318
+ # resp.document_description.category[0] #=> String
1319
+ # resp.document_description.category_enum #=> Array
1320
+ # resp.document_description.category_enum[0] #=> String
1309
1321
  #
1310
1322
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
1311
1323
  #
@@ -3186,6 +3198,10 @@ module Aws::SSM
3186
3198
  # resp.document.approved_version #=> String
3187
3199
  # resp.document.pending_review_version #=> String
3188
3200
  # resp.document.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
3201
+ # resp.document.category #=> Array
3202
+ # resp.document.category[0] #=> String
3203
+ # resp.document.category_enum #=> Array
3204
+ # resp.document.category_enum[0] #=> String
3189
3205
  #
3190
3206
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
3191
3207
  #
@@ -9733,7 +9749,14 @@ module Aws::SSM
9733
9749
 
9734
9750
  # Updates an association. You can update the association name and
9735
9751
  # version, the document version, schedule, parameters, and Amazon Simple
9736
- # Storage Service (Amazon S3) output.
9752
+ # Storage Service (Amazon S3) output. When you call `UpdateAssociation`,
9753
+ # the system drops all optional parameters from the request and
9754
+ # overwrites the association with null values for those parameters. This
9755
+ # is by design. You must specify all optional parameters in the call,
9756
+ # even if you are not changing the parameters. This includes the `Name`
9757
+ # parameter. Before calling this API action, we recommend that you call
9758
+ # the DescribeAssociation API operation and make a note of all optional
9759
+ # parameters required for your `UpdateAssociation` call.
9737
9760
  #
9738
9761
  # In order to call this API operation, your Identity and Access
9739
9762
  # Management (IAM) user account, group, or role must be configured with
@@ -9745,7 +9768,9 @@ module Aws::SSM
9745
9768
  # <resource_arn>`
9746
9769
  #
9747
9770
  # When you update an association, the association immediately runs
9748
- # against the specified targets.
9771
+ # against the specified targets. You can add the
9772
+ # `ApplyOnlyAtCronInterval` parameter to run the association during the
9773
+ # next schedule run.
9749
9774
  #
9750
9775
  # @option params [required, String] :association_id
9751
9776
  # The ID of the association you want to update.
@@ -9759,6 +9784,14 @@ module Aws::SSM
9759
9784
  # @option params [String] :document_version
9760
9785
  # The document version you want update for the association.
9761
9786
  #
9787
+ # State Manager doesn't support running associations that use a new
9788
+ # version of a document if that document is shared from another account.
9789
+ # State Manager always runs the `default` version of a document if
9790
+ # shared from another account, even though the Systems Manager console
9791
+ # shows that a new version was processed. If you want to run an
9792
+ # association using a new version of a document shared form another
9793
+ # account, you must set the document version to `default`.
9794
+ #
9762
9795
  # @option params [String] :schedule_expression
9763
9796
  # The cron expression used to schedule the association that you want to
9764
9797
  # update.
@@ -10182,6 +10215,10 @@ module Aws::SSM
10182
10215
  # resp.document_description.approved_version #=> String
10183
10216
  # resp.document_description.pending_review_version #=> String
10184
10217
  # resp.document_description.review_status #=> String, one of "APPROVED", "NOT_REVIEWED", "PENDING", "REJECTED"
10218
+ # resp.document_description.category #=> Array
10219
+ # resp.document_description.category[0] #=> String
10220
+ # resp.document_description.category_enum #=> Array
10221
+ # resp.document_description.category_enum[0] #=> String
10185
10222
  #
10186
10223
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
10187
10224
  #
@@ -11408,7 +11445,7 @@ module Aws::SSM
11408
11445
  params: params,
11409
11446
  config: config)
11410
11447
  context[:gem_name] = 'aws-sdk-ssm'
11411
- context[:gem_version] = '1.127.0'
11448
+ context[:gem_version] = '1.128.0'
11412
11449
  Seahorse::Client::Request.new(handlers, context)
11413
11450
  end
11414
11451
 
@@ -129,6 +129,9 @@ module Aws::SSM
129
129
  CancelCommandResult = Shapes::StructureShape.new(name: 'CancelCommandResult')
130
130
  CancelMaintenanceWindowExecutionRequest = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionRequest')
131
131
  CancelMaintenanceWindowExecutionResult = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionResult')
132
+ Category = Shapes::StringShape.new(name: 'Category')
133
+ CategoryEnumList = Shapes::ListShape.new(name: 'CategoryEnumList')
134
+ CategoryList = Shapes::ListShape.new(name: 'CategoryList')
132
135
  ChangeDetailsValue = Shapes::StringShape.new(name: 'ChangeDetailsValue')
133
136
  ChangeRequestName = Shapes::StringShape.new(name: 'ChangeRequestName')
134
137
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
@@ -1492,6 +1495,10 @@ module Aws::SSM
1492
1495
  CancelMaintenanceWindowExecutionResult.add_member(:window_execution_id, Shapes::ShapeRef.new(shape: MaintenanceWindowExecutionId, location_name: "WindowExecutionId"))
1493
1496
  CancelMaintenanceWindowExecutionResult.struct_class = Types::CancelMaintenanceWindowExecutionResult
1494
1497
 
1498
+ CategoryEnumList.member = Shapes::ShapeRef.new(shape: Category)
1499
+
1500
+ CategoryList.member = Shapes::ShapeRef.new(shape: Category)
1501
+
1495
1502
  CloudWatchOutputConfig.add_member(:cloud_watch_log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "CloudWatchLogGroupName"))
1496
1503
  CloudWatchOutputConfig.add_member(:cloud_watch_output_enabled, Shapes::ShapeRef.new(shape: CloudWatchOutputEnabled, location_name: "CloudWatchOutputEnabled"))
1497
1504
  CloudWatchOutputConfig.struct_class = Types::CloudWatchOutputConfig
@@ -2236,6 +2243,8 @@ module Aws::SSM
2236
2243
  DocumentDescription.add_member(:approved_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "ApprovedVersion"))
2237
2244
  DocumentDescription.add_member(:pending_review_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "PendingReviewVersion"))
2238
2245
  DocumentDescription.add_member(:review_status, Shapes::ShapeRef.new(shape: ReviewStatus, location_name: "ReviewStatus"))
2246
+ DocumentDescription.add_member(:category, Shapes::ShapeRef.new(shape: CategoryList, location_name: "Category"))
2247
+ DocumentDescription.add_member(:category_enum, Shapes::ShapeRef.new(shape: CategoryEnumList, location_name: "CategoryEnum"))
2239
2248
  DocumentDescription.struct_class = Types::DocumentDescription
2240
2249
 
2241
2250
  DocumentFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentFilterKey, required: true, location_name: "key"))
@@ -275,6 +275,14 @@ module Aws::SSM
275
275
  #
276
276
  # @!attribute [rw] document_version
277
277
  # The version of the document used in the association.
278
+ #
279
+ # State Manager doesn't support running associations that use a new
280
+ # version of a document if that document is shared from another
281
+ # account. State Manager always runs the `default` version of a
282
+ # document if shared from another account, even though the Systems
283
+ # Manager console shows that a new version was processed. If you want
284
+ # to run an association using a new version of a document shared form
285
+ # another account, you must set the document version to `default`.
278
286
  # @return [String]
279
287
  #
280
288
  # @!attribute [rw] targets
@@ -1853,8 +1861,8 @@ module Aws::SSM
1853
1861
  # enough invocations failed for the status to be Failed. This is a
1854
1862
  # terminal state.
1855
1863
  #
1856
- # * Canceled: The command was terminated before it was completed. This
1857
- # is a terminal state.
1864
+ # * Cancelled: The command was terminated before it was completed.
1865
+ # This is a terminal state.
1858
1866
  #
1859
1867
  # * Rate Exceeded: The number of managed nodes targeted by the command
1860
1868
  # exceeded the account limit for pending invocations. The system has
@@ -1916,7 +1924,7 @@ module Aws::SSM
1916
1924
  # @!attribute [rw] completed_count
1917
1925
  # The number of targets for which the command invocation reached a
1918
1926
  # terminal state. Terminal states include the following: Success,
1919
- # Failed, Execution Timed Out, Delivery Timed Out, Canceled,
1927
+ # Failed, Execution Timed Out, Delivery Timed Out, Cancelled,
1920
1928
  # Terminated, or Undeliverable.
1921
1929
  # @return [Integer]
1922
1930
  #
@@ -2175,8 +2183,8 @@ module Aws::SSM
2175
2183
  # more plugins wasn't zero. Invocation failures count against the
2176
2184
  # `MaxErrors` limit of the parent command. This is a terminal state.
2177
2185
  #
2178
- # * Canceled: The command was terminated before it was completed. This
2179
- # is a terminal state.
2186
+ # * Cancelled: The command was terminated before it was completed.
2187
+ # This is a terminal state.
2180
2188
  #
2181
2189
  # * Undeliverable: The command can't be delivered to the managed
2182
2190
  # node. The managed node might not exist or might not be responding.
@@ -2306,8 +2314,8 @@ module Aws::SSM
2306
2314
  # more plugins wasn't zero. Invocation failures count against the
2307
2315
  # MaxErrors limit of the parent command. This is a terminal state.
2308
2316
  #
2309
- # * Canceled: The command was terminated before it was completed. This
2310
- # is a terminal state.
2317
+ # * Cancelled: The command was terminated before it was completed.
2318
+ # This is a terminal state.
2311
2319
  #
2312
2320
  # * Undeliverable: The command can't be delivered to the managed
2313
2321
  # node. The managed node might not exist, or it might not be
@@ -3158,6 +3166,14 @@ module Aws::SSM
3158
3166
  # @!attribute [rw] document_version
3159
3167
  # The document version you want to associate with the target(s). Can
3160
3168
  # be a specific version or the default version.
3169
+ #
3170
+ # State Manager doesn't support running associations that use a new
3171
+ # version of a document if that document is shared from another
3172
+ # account. State Manager always runs the `default` version of a
3173
+ # document if shared from another account, even though the Systems
3174
+ # Manager console shows that a new version was processed. If you want
3175
+ # to run an association using a new version of a document shared form
3176
+ # another account, you must set the document version to `default`.
3161
3177
  # @return [String]
3162
3178
  #
3163
3179
  # @!attribute [rw] instance_id
@@ -7100,7 +7116,7 @@ module Aws::SSM
7100
7116
  include Aws::Structure
7101
7117
  end
7102
7118
 
7103
- # Describes a Amazon Web Services Systems Manager document (SSM
7119
+ # Describes an Amazon Web Services Systems Manager document (SSM
7104
7120
  # document).
7105
7121
  #
7106
7122
  # @!attribute [rw] sha_1
@@ -7172,7 +7188,8 @@ module Aws::SSM
7172
7188
  # @return [Array<Types::DocumentParameter>]
7173
7189
  #
7174
7190
  # @!attribute [rw] platform_types
7175
- # The list of OS platforms compatible with this SSM document.
7191
+ # The list of operating system (OS) platforms compatible with this SSM
7192
+ # document.
7176
7193
  # @return [Array<String>]
7177
7194
  #
7178
7195
  # @!attribute [rw] document_type
@@ -7242,6 +7259,15 @@ module Aws::SSM
7242
7259
  # The current status of the review.
7243
7260
  # @return [String]
7244
7261
  #
7262
+ # @!attribute [rw] category
7263
+ # The classification of a document to help you identify and categorize
7264
+ # its use.
7265
+ # @return [Array<String>]
7266
+ #
7267
+ # @!attribute [rw] category_enum
7268
+ # The value that identifies a document's category.
7269
+ # @return [Array<String>]
7270
+ #
7245
7271
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
7246
7272
  #
7247
7273
  class DocumentDescription < Struct.new(
@@ -7272,7 +7298,9 @@ module Aws::SSM
7272
7298
  :review_information,
7273
7299
  :approved_version,
7274
7300
  :pending_review_version,
7275
- :review_status)
7301
+ :review_status,
7302
+ :category,
7303
+ :category_enum)
7276
7304
  SENSITIVE = []
7277
7305
  include Aws::Structure
7278
7306
  end
@@ -8213,8 +8241,8 @@ module Aws::SSM
8213
8241
  # against the `MaxErrors` limit of the parent command. This is a
8214
8242
  # terminal state.
8215
8243
  #
8216
- # * Canceled: The command was terminated before it was completed. This
8217
- # is a terminal state.
8244
+ # * Cancelled: The command was terminated before it was completed.
8245
+ # This is a terminal state.
8218
8246
  #
8219
8247
  # * Undeliverable: The command can't be delivered to the managed
8220
8248
  # node. The node might not exist or might not be responding.
@@ -19746,6 +19774,14 @@ module Aws::SSM
19746
19774
  #
19747
19775
  # @!attribute [rw] document_version
19748
19776
  # The document version you want update for the association.
19777
+ #
19778
+ # State Manager doesn't support running associations that use a new
19779
+ # version of a document if that document is shared from another
19780
+ # account. State Manager always runs the `default` version of a
19781
+ # document if shared from another account, even though the Systems
19782
+ # Manager console shows that a new version was processed. If you want
19783
+ # to run an association using a new version of a document shared form
19784
+ # another account, you must set the document version to `default`.
19749
19785
  # @return [String]
19750
19786
  #
19751
19787
  # @!attribute [rw] schedule_expression
data/lib/aws-sdk-ssm.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ssm/customizations'
49
49
  # @!group service
50
50
  module Aws::SSM
51
51
 
52
- GEM_VERSION = '1.127.0'
52
+ GEM_VERSION = '1.128.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ssm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.127.0
4
+ version: 1.128.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core