aws-sdk-ssm 1.1.0 → 1.2.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
  SHA1:
3
- metadata.gz: 76e8c788ae3898087d5ea42491b3a737ba030fa6
4
- data.tar.gz: 9fa942a771479279cefc2ecd1732c68d98d8791d
3
+ metadata.gz: f1fd58ac0f5335e0d6bab2e8aa6081c6d3b56d80
4
+ data.tar.gz: d9d6a31b0da74871461b8961d53887cf59d1088f
5
5
  SHA512:
6
- metadata.gz: cbd1a65a3a67bbf75fc3367cb653a4850c3d99d259875a371b828293e3c37b6392f193916ad2c0d362631a68aae32a1677c26a50813c50c795481ba9b7d09de0
7
- data.tar.gz: 2574d0caffaad8b1279c0f3bd5229c22ec0a32ae6c80ada127debfff350517a3dbbe9551b751c55b69a6817a0462f8edbc5d3c08c602a88f4521f0c023440d47
6
+ metadata.gz: 3387c5643996f440cad5f56047afd62012fa7cc36a68234bf4ed8c04bd9f40645762949fd504a6ec1d0add57c0881a5e296c048dfc0bc7e49184184df1098e29
7
+ data.tar.gz: a901c951282adac827ed475b820090f7d9b1451fb11706599ae1238e1f47e360f6d43989dc5c8efb05d10abb72d22539fcdba79779637e1d66330b646c7100d5
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -156,15 +156,15 @@ module Aws::SSM
156
156
  # @!group API Operations
157
157
 
158
158
  # Adds or overwrites one or more tags for the specified resource. Tags
159
- # are metadata that you assign to your managed instances, Maintenance
160
- # Windows, or Parameter Store parameters. Tags enable you to categorize
161
- # your resources in different ways, for example, by purpose, owner, or
162
- # environment. Each tag consists of a key and an optional value, both of
163
- # which you define. For example, you could define a set of tags for your
164
- # account's managed instances that helps you track each instance's
165
- # owner and stack level. For example: Key=Owner and Value=DbAdmin,
166
- # SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production,
167
- # or Test.
159
+ # are metadata that you can assign to your documents, managed instances,
160
+ # Maintenance Windows, Parameter Store parameters, and patch baselines.
161
+ # Tags enable you to categorize your resources in different ways, for
162
+ # example, by purpose, owner, or environment. Each tag consists of a key
163
+ # and an optional value, both of which you define. For example, you
164
+ # could define a set of tags for your account's managed instances that
165
+ # helps you track each instance's owner and stack level. For example:
166
+ # Key=Owner and Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and
167
+ # Value=Production, Pre-Production, or Test.
168
168
  #
169
169
  # Each resource can have a maximum of 10 tags.
170
170
  #
@@ -198,7 +198,7 @@ module Aws::SSM
198
198
  # @example Request syntax with placeholder values
199
199
  #
200
200
  # resp = client.add_tags_to_resource({
201
- # resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
201
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
202
202
  # resource_id: "ResourceId", # required
203
203
  # tags: [ # required
204
204
  # {
@@ -575,6 +575,9 @@ module Aws::SSM
575
575
  # resp.document_description.schema_version #=> String
576
576
  # resp.document_description.latest_version #=> String
577
577
  # resp.document_description.default_version #=> String
578
+ # resp.document_description.tags #=> Array
579
+ # resp.document_description.tags[0].key #=> String
580
+ # resp.document_description.tags[0].value #=> String
578
581
  #
579
582
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument AWS API Documentation
580
583
  #
@@ -1213,7 +1216,7 @@ module Aws::SSM
1213
1216
  # or instance.
1214
1217
  #
1215
1218
  # @option params [String] :name
1216
- # The name of the SSM document.
1219
+ # The name of the Systems Manager document.
1217
1220
  #
1218
1221
  # @option params [String] :instance_id
1219
1222
  # The instance ID.
@@ -1397,10 +1400,10 @@ module Aws::SSM
1397
1400
  req.send_request(options)
1398
1401
  end
1399
1402
 
1400
- # Describes the specified SSM document.
1403
+ # Describes the specified Systems Manager document.
1401
1404
  #
1402
1405
  # @option params [required, String] :name
1403
- # The name of the SSM document.
1406
+ # The name of the Systems Manager document.
1404
1407
  #
1405
1408
  # @option params [String] :document_version
1406
1409
  # The document version for which you want information. Can be a specific
@@ -1439,6 +1442,9 @@ module Aws::SSM
1439
1442
  # resp.document.schema_version #=> String
1440
1443
  # resp.document.latest_version #=> String
1441
1444
  # resp.document.default_version #=> String
1445
+ # resp.document.tags #=> Array
1446
+ # resp.document.tags[0].key #=> String
1447
+ # resp.document.tags[0].value #=> String
1442
1448
  #
1443
1449
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument AWS API Documentation
1444
1450
  #
@@ -2714,10 +2720,10 @@ module Aws::SSM
2714
2720
  req.send_request(options)
2715
2721
  end
2716
2722
 
2717
- # Gets the contents of the specified SSM document.
2723
+ # Gets the contents of the specified Systems Manager document.
2718
2724
  #
2719
2725
  # @option params [required, String] :name
2720
- # The name of the SSM document.
2726
+ # The name of the Systems Manager document.
2721
2727
  #
2722
2728
  # @option params [String] :document_version
2723
2729
  # The document version for which you want information.
@@ -3958,12 +3964,16 @@ module Aws::SSM
3958
3964
  req.send_request(options)
3959
3965
  end
3960
3966
 
3961
- # Describes one or more of your SSM documents.
3967
+ # Describes one or more of your Systems Manager documents.
3962
3968
  #
3963
3969
  # @option params [Array<Types::DocumentFilter>] :document_filter_list
3964
3970
  # One or more filters. Use a filter to return a more specific list of
3965
3971
  # results.
3966
3972
  #
3973
+ # @option params [Array<Types::DocumentKeyValuesFilter>] :filters
3974
+ # One or more filters. Use a filter to return a more specific list of
3975
+ # results.
3976
+ #
3967
3977
  # @option params [Integer] :max_results
3968
3978
  # The maximum number of items to return for this call. The call also
3969
3979
  # returns a token that you can specify in a subsequent call to get the
@@ -3987,6 +3997,12 @@ module Aws::SSM
3987
3997
  # value: "DocumentFilterValue", # required
3988
3998
  # },
3989
3999
  # ],
4000
+ # filters: [
4001
+ # {
4002
+ # key: "DocumentKeyValuesFilterKey",
4003
+ # values: ["DocumentKeyValuesFilterValue"],
4004
+ # },
4005
+ # ],
3990
4006
  # max_results: 1,
3991
4007
  # next_token: "NextToken",
3992
4008
  # })
@@ -4001,6 +4017,9 @@ module Aws::SSM
4001
4017
  # resp.document_identifiers[0].document_version #=> String
4002
4018
  # resp.document_identifiers[0].document_type #=> String, one of "Command", "Policy", "Automation"
4003
4019
  # resp.document_identifiers[0].schema_version #=> String
4020
+ # resp.document_identifiers[0].tags #=> Array
4021
+ # resp.document_identifiers[0].tags[0].key #=> String
4022
+ # resp.document_identifiers[0].tags[0].value #=> String
4004
4023
  # resp.next_token #=> String
4005
4024
  #
4006
4025
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments AWS API Documentation
@@ -4224,7 +4243,7 @@ module Aws::SSM
4224
4243
  # @example Request syntax with placeholder values
4225
4244
  #
4226
4245
  # resp = client.list_tags_for_resource({
4227
- # resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
4246
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
4228
4247
  # resource_id: "ResourceId", # required
4229
4248
  # })
4230
4249
  #
@@ -4733,7 +4752,7 @@ module Aws::SSM
4733
4752
  # @example Request syntax with placeholder values
4734
4753
  #
4735
4754
  # resp = client.remove_tags_from_resource({
4736
- # resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
4755
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
4737
4756
  # resource_id: "ResourceId", # required
4738
4757
  # tag_keys: ["TagKey"], # required
4739
4758
  # })
@@ -5135,7 +5154,7 @@ module Aws::SSM
5135
5154
  # specified instance.
5136
5155
  #
5137
5156
  # @option params [required, String] :name
5138
- # The name of the SSM document.
5157
+ # The name of the Systems Manager document.
5139
5158
  #
5140
5159
  # @option params [required, String] :instance_id
5141
5160
  # The ID of the instance.
@@ -5246,6 +5265,9 @@ module Aws::SSM
5246
5265
  # resp.document_description.schema_version #=> String
5247
5266
  # resp.document_description.latest_version #=> String
5248
5267
  # resp.document_description.default_version #=> String
5268
+ # resp.document_description.tags #=> Array
5269
+ # resp.document_description.tags[0].key #=> String
5270
+ # resp.document_description.tags[0].value #=> String
5249
5271
  #
5250
5272
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument AWS API Documentation
5251
5273
  #
@@ -5826,7 +5848,7 @@ module Aws::SSM
5826
5848
  params: params,
5827
5849
  config: config)
5828
5850
  context[:gem_name] = 'aws-sdk-ssm'
5829
- context[:gem_version] = '1.1.0'
5851
+ context[:gem_version] = '1.2.0'
5830
5852
  Seahorse::Client::Request.new(handlers, context)
5831
5853
  end
5832
5854
 
@@ -232,6 +232,11 @@ module Aws::SSM
232
232
  DocumentHashType = Shapes::StringShape.new(name: 'DocumentHashType')
233
233
  DocumentIdentifier = Shapes::StructureShape.new(name: 'DocumentIdentifier')
234
234
  DocumentIdentifierList = Shapes::ListShape.new(name: 'DocumentIdentifierList')
235
+ DocumentKeyValuesFilter = Shapes::StructureShape.new(name: 'DocumentKeyValuesFilter')
236
+ DocumentKeyValuesFilterKey = Shapes::StringShape.new(name: 'DocumentKeyValuesFilterKey')
237
+ DocumentKeyValuesFilterList = Shapes::ListShape.new(name: 'DocumentKeyValuesFilterList')
238
+ DocumentKeyValuesFilterValue = Shapes::StringShape.new(name: 'DocumentKeyValuesFilterValue')
239
+ DocumentKeyValuesFilterValues = Shapes::ListShape.new(name: 'DocumentKeyValuesFilterValues')
235
240
  DocumentLimitExceeded = Shapes::StructureShape.new(name: 'DocumentLimitExceeded')
236
241
  DocumentName = Shapes::StringShape.new(name: 'DocumentName')
237
242
  DocumentOwner = Shapes::StringShape.new(name: 'DocumentOwner')
@@ -1367,6 +1372,7 @@ module Aws::SSM
1367
1372
  DocumentDescription.add_member(:schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, location_name: "SchemaVersion"))
1368
1373
  DocumentDescription.add_member(:latest_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "LatestVersion"))
1369
1374
  DocumentDescription.add_member(:default_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DefaultVersion"))
1375
+ DocumentDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1370
1376
  DocumentDescription.struct_class = Types::DocumentDescription
1371
1377
 
1372
1378
  DocumentFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentFilterKey, required: true, location_name: "key"))
@@ -1381,10 +1387,19 @@ module Aws::SSM
1381
1387
  DocumentIdentifier.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
1382
1388
  DocumentIdentifier.add_member(:document_type, Shapes::ShapeRef.new(shape: DocumentType, location_name: "DocumentType"))
1383
1389
  DocumentIdentifier.add_member(:schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, location_name: "SchemaVersion"))
1390
+ DocumentIdentifier.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1384
1391
  DocumentIdentifier.struct_class = Types::DocumentIdentifier
1385
1392
 
1386
1393
  DocumentIdentifierList.member = Shapes::ShapeRef.new(shape: DocumentIdentifier, location_name: "DocumentIdentifier")
1387
1394
 
1395
+ DocumentKeyValuesFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentKeyValuesFilterKey, location_name: "Key"))
1396
+ DocumentKeyValuesFilter.add_member(:values, Shapes::ShapeRef.new(shape: DocumentKeyValuesFilterValues, location_name: "Values"))
1397
+ DocumentKeyValuesFilter.struct_class = Types::DocumentKeyValuesFilter
1398
+
1399
+ DocumentKeyValuesFilterList.member = Shapes::ShapeRef.new(shape: DocumentKeyValuesFilter)
1400
+
1401
+ DocumentKeyValuesFilterValues.member = Shapes::ShapeRef.new(shape: DocumentKeyValuesFilterValue)
1402
+
1388
1403
  DocumentParameter.add_member(:name, Shapes::ShapeRef.new(shape: DocumentParameterName, location_name: "Name"))
1389
1404
  DocumentParameter.add_member(:type, Shapes::ShapeRef.new(shape: DocumentParameterType, location_name: "Type"))
1390
1405
  DocumentParameter.add_member(:description, Shapes::ShapeRef.new(shape: DocumentParameterDescrption, location_name: "Description"))
@@ -1874,6 +1889,7 @@ module Aws::SSM
1874
1889
  ListDocumentVersionsResult.struct_class = Types::ListDocumentVersionsResult
1875
1890
 
1876
1891
  ListDocumentsRequest.add_member(:document_filter_list, Shapes::ShapeRef.new(shape: DocumentFilterList, location_name: "DocumentFilterList"))
1892
+ ListDocumentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DocumentKeyValuesFilterList, location_name: "Filters"))
1877
1893
  ListDocumentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
1878
1894
  ListDocumentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1879
1895
  ListDocumentsRequest.struct_class = Types::ListDocumentsRequest
@@ -72,7 +72,7 @@ module Aws::SSM
72
72
  # data as a hash:
73
73
  #
74
74
  # {
75
- # resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
75
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
76
76
  # resource_id: "ResourceId", # required
77
77
  # tags: [ # required
78
78
  # {
@@ -113,7 +113,7 @@ module Aws::SSM
113
113
  # instance.
114
114
  #
115
115
  # @!attribute [rw] name
116
- # The name of the SSM document.
116
+ # The name of the Systems Manager document.
117
117
  # @return [String]
118
118
  #
119
119
  # @!attribute [rw] instance_id
@@ -174,7 +174,7 @@ module Aws::SSM
174
174
  # Describes the parameters for a document.
175
175
  #
176
176
  # @!attribute [rw] name
177
- # The name of the SSM document.
177
+ # The name of the Systems Manager document.
178
178
  # @return [String]
179
179
  #
180
180
  # @!attribute [rw] instance_id
@@ -371,8 +371,8 @@ module Aws::SSM
371
371
  # @return [String]
372
372
  #
373
373
  # @!attribute [rw] document_version
374
- # The version of an SSM document used when the association version was
375
- # created.
374
+ # The version of a Systems Manager document used when the association
375
+ # version was created.
376
376
  # @return [String]
377
377
  #
378
378
  # @!attribute [rw] parameters
@@ -2349,7 +2349,7 @@ module Aws::SSM
2349
2349
  # }
2350
2350
  #
2351
2351
  # @!attribute [rw] name
2352
- # The name of the SSM document.
2352
+ # The name of the Systems Manager document.
2353
2353
  # @return [String]
2354
2354
  #
2355
2355
  # @!attribute [rw] instance_id
@@ -2544,7 +2544,7 @@ module Aws::SSM
2544
2544
  # }
2545
2545
  #
2546
2546
  # @!attribute [rw] name
2547
- # The name of the SSM document.
2547
+ # The name of the Systems Manager document.
2548
2548
  # @return [String]
2549
2549
  #
2550
2550
  # @!attribute [rw] document_version
@@ -2561,7 +2561,7 @@ module Aws::SSM
2561
2561
  end
2562
2562
 
2563
2563
  # @!attribute [rw] document
2564
- # Information about the SSM document.
2564
+ # Information about the Systems Manager document.
2565
2565
  # @return [Types::DocumentDescription]
2566
2566
  #
2567
2567
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentResult AWS API Documentation
@@ -3631,11 +3631,10 @@ module Aws::SSM
3631
3631
  include Aws::Structure
3632
3632
  end
3633
3633
 
3634
- # Describes an SSM document.
3634
+ # Describes a Systems Manager document.
3635
3635
  #
3636
3636
  # @!attribute [rw] sha_1
3637
- # The SHA1 hash of the document, which you can use for verification
3638
- # purposes.
3637
+ # The SHA1 hash of the document, which you can use for verification.
3639
3638
  # @return [String]
3640
3639
  #
3641
3640
  # @!attribute [rw] hash
@@ -3656,11 +3655,11 @@ module Aws::SSM
3656
3655
  # @return [String]
3657
3656
  #
3658
3657
  # @!attribute [rw] name
3659
- # The name of the SSM document.
3658
+ # The name of the Systems Manager document.
3660
3659
  # @return [String]
3661
3660
  #
3662
3661
  # @!attribute [rw] owner
3663
- # The AWS user account of the person who created the document.
3662
+ # The AWS user account that created the document.
3664
3663
  # @return [String]
3665
3664
  #
3666
3665
  # @!attribute [rw] created_date
@@ -3668,7 +3667,7 @@ module Aws::SSM
3668
3667
  # @return [Time]
3669
3668
  #
3670
3669
  # @!attribute [rw] status
3671
- # The status of the SSM document.
3670
+ # The status of the Systems Manager document.
3672
3671
  # @return [String]
3673
3672
  #
3674
3673
  # @!attribute [rw] document_version
@@ -3684,7 +3683,8 @@ module Aws::SSM
3684
3683
  # @return [Array<Types::DocumentParameter>]
3685
3684
  #
3686
3685
  # @!attribute [rw] platform_types
3687
- # The list of OS platforms compatible with this SSM document.
3686
+ # The list of OS platforms compatible with this Systems Manager
3687
+ # document.
3688
3688
  # @return [Array<String>]
3689
3689
  #
3690
3690
  # @!attribute [rw] document_type
@@ -3703,6 +3703,10 @@ module Aws::SSM
3703
3703
  # The default version.
3704
3704
  # @return [String]
3705
3705
  #
3706
+ # @!attribute [rw] tags
3707
+ # The tags, or metadata, that have been applied to the document.
3708
+ # @return [Array<Types::Tag>]
3709
+ #
3706
3710
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription AWS API Documentation
3707
3711
  #
3708
3712
  class DocumentDescription < Struct.new(
@@ -3720,7 +3724,8 @@ module Aws::SSM
3720
3724
  :document_type,
3721
3725
  :schema_version,
3722
3726
  :latest_version,
3723
- :default_version)
3727
+ :default_version,
3728
+ :tags)
3724
3729
  include Aws::Structure
3725
3730
  end
3726
3731
 
@@ -3750,14 +3755,14 @@ module Aws::SSM
3750
3755
  include Aws::Structure
3751
3756
  end
3752
3757
 
3753
- # Describes the name of an SSM document.
3758
+ # Describes the name of a Systems Manager document.
3754
3759
  #
3755
3760
  # @!attribute [rw] name
3756
- # The name of the SSM document.
3761
+ # The name of the Systems Manager document.
3757
3762
  # @return [String]
3758
3763
  #
3759
3764
  # @!attribute [rw] owner
3760
- # The AWS user account of the person who created the document.
3765
+ # The AWS user account that created the document.
3761
3766
  # @return [String]
3762
3767
  #
3763
3768
  # @!attribute [rw] platform_types
@@ -3776,6 +3781,10 @@ module Aws::SSM
3776
3781
  # The schema version.
3777
3782
  # @return [String]
3778
3783
  #
3784
+ # @!attribute [rw] tags
3785
+ # The tags, or metadata, that have been applied to the document.
3786
+ # @return [Array<Types::Tag>]
3787
+ #
3779
3788
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier AWS API Documentation
3780
3789
  #
3781
3790
  class DocumentIdentifier < Struct.new(
@@ -3784,7 +3793,64 @@ module Aws::SSM
3784
3793
  :platform_types,
3785
3794
  :document_version,
3786
3795
  :document_type,
3787
- :schema_version)
3796
+ :schema_version,
3797
+ :tags)
3798
+ include Aws::Structure
3799
+ end
3800
+
3801
+ # One or more filters. Use a filter to return a more specific list of
3802
+ # documents.
3803
+ #
3804
+ # For keys, you can specify one or more tags that have been applied to a
3805
+ # document.
3806
+ #
3807
+ # Other valid values include Owner, Name, PlatformTypes, and
3808
+ # DocumentType.
3809
+ #
3810
+ # Note that only one Owner can be specified in a request. For example:
3811
+ # `Key=Owner,Values=Self`.
3812
+ #
3813
+ # If you use Name as a key, you can use a name prefix to return a list
3814
+ # of documents. For example, in the AWS CLI, to return a list of all
3815
+ # documents that begin with `Te`, run the following command:
3816
+ #
3817
+ # `aws ssm list-documents --filters Key=Name,Values=Te`
3818
+ #
3819
+ # If you specify more than two keys, only documents that are identified
3820
+ # by all the tags are returned in the results. If you specify more than
3821
+ # two values for a key, documents that are identified by any of the
3822
+ # values are returned in the results.
3823
+ #
3824
+ # To specify a custom key and value pair, use the format
3825
+ # `Key=tag:[tagName],Values=[valueName]`.
3826
+ #
3827
+ # For example, if you created a Key called region and are using the AWS
3828
+ # CLI to call the `list-documents` command:
3829
+ #
3830
+ # `aws ssm list-documents --filters Key=tag:region,Values=east,west
3831
+ # Key=Owner,Values=Self`
3832
+ #
3833
+ # @note When making an API call, you may pass DocumentKeyValuesFilter
3834
+ # data as a hash:
3835
+ #
3836
+ # {
3837
+ # key: "DocumentKeyValuesFilterKey",
3838
+ # values: ["DocumentKeyValuesFilterValue"],
3839
+ # }
3840
+ #
3841
+ # @!attribute [rw] key
3842
+ # The name of the filter key.
3843
+ # @return [String]
3844
+ #
3845
+ # @!attribute [rw] values
3846
+ # The value for the filter key.
3847
+ # @return [Array<String>]
3848
+ #
3849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentKeyValuesFilter AWS API Documentation
3850
+ #
3851
+ class DocumentKeyValuesFilter < Struct.new(
3852
+ :key,
3853
+ :values)
3788
3854
  include Aws::Structure
3789
3855
  end
3790
3856
 
@@ -4252,7 +4318,7 @@ module Aws::SSM
4252
4318
  # }
4253
4319
  #
4254
4320
  # @!attribute [rw] name
4255
- # The name of the SSM document.
4321
+ # The name of the Systems Manager document.
4256
4322
  # @return [String]
4257
4323
  #
4258
4324
  # @!attribute [rw] document_version
@@ -4268,7 +4334,7 @@ module Aws::SSM
4268
4334
  end
4269
4335
 
4270
4336
  # @!attribute [rw] name
4271
- # The name of the SSM document.
4337
+ # The name of the Systems Manager document.
4272
4338
  # @return [String]
4273
4339
  #
4274
4340
  # @!attribute [rw] document_version
@@ -4276,7 +4342,7 @@ module Aws::SSM
4276
4342
  # @return [String]
4277
4343
  #
4278
4344
  # @!attribute [rw] content
4279
- # The contents of the SSM document.
4345
+ # The contents of the Systems Manager document.
4280
4346
  # @return [String]
4281
4347
  #
4282
4348
  # @!attribute [rw] document_type
@@ -4794,9 +4860,10 @@ module Aws::SSM
4794
4860
  #
4795
4861
  # @!attribute [rw] task_arn
4796
4862
  # The resource that the task used during execution. For RUN\_COMMAND
4797
- # and AUTOMATION task types, the TaskArn is the SSM Document name/ARN.
4798
- # For LAMBDA tasks, the value is the function name/ARN. For
4799
- # STEP\_FUNCTION tasks, the value is the state machine ARN.
4863
+ # and AUTOMATION task types, the TaskArn is the Systems Manager
4864
+ # Document name/ARN. For LAMBDA tasks, the value is the function
4865
+ # name/ARN. For STEP\_FUNCTION tasks, the value is the state machine
4866
+ # ARN.
4800
4867
  # @return [String]
4801
4868
  #
4802
4869
  # @!attribute [rw] service_role_arn
@@ -6306,6 +6373,12 @@ module Aws::SSM
6306
6373
  # value: "DocumentFilterValue", # required
6307
6374
  # },
6308
6375
  # ],
6376
+ # filters: [
6377
+ # {
6378
+ # key: "DocumentKeyValuesFilterKey",
6379
+ # values: ["DocumentKeyValuesFilterValue"],
6380
+ # },
6381
+ # ],
6309
6382
  # max_results: 1,
6310
6383
  # next_token: "NextToken",
6311
6384
  # }
@@ -6315,6 +6388,11 @@ module Aws::SSM
6315
6388
  # results.
6316
6389
  # @return [Array<Types::DocumentFilter>]
6317
6390
  #
6391
+ # @!attribute [rw] filters
6392
+ # One or more filters. Use a filter to return a more specific list of
6393
+ # results.
6394
+ # @return [Array<Types::DocumentKeyValuesFilter>]
6395
+ #
6318
6396
  # @!attribute [rw] max_results
6319
6397
  # The maximum number of items to return for this call. The call also
6320
6398
  # returns a token that you can specify in a subsequent call to get the
@@ -6330,13 +6408,14 @@ module Aws::SSM
6330
6408
  #
6331
6409
  class ListDocumentsRequest < Struct.new(
6332
6410
  :document_filter_list,
6411
+ :filters,
6333
6412
  :max_results,
6334
6413
  :next_token)
6335
6414
  include Aws::Structure
6336
6415
  end
6337
6416
 
6338
6417
  # @!attribute [rw] document_identifiers
6339
- # The names of the SSM documents.
6418
+ # The names of the Systems Manager documents.
6340
6419
  # @return [Array<Types::DocumentIdentifier>]
6341
6420
  #
6342
6421
  # @!attribute [rw] next_token
@@ -6552,7 +6631,7 @@ module Aws::SSM
6552
6631
  # data as a hash:
6553
6632
  #
6554
6633
  # {
6555
- # resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
6634
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
6556
6635
  # resource_id: "ResourceId", # required
6557
6636
  # }
6558
6637
  #
@@ -7077,8 +7156,8 @@ module Aws::SSM
7077
7156
  #
7078
7157
  # @!attribute [rw] task_arn
7079
7158
  # The resource that the task uses during execution. For RUN\_COMMAND
7080
- # and AUTOMATION task types, `TaskArn` is the SSM document name or
7081
- # ARN. For LAMBDA tasks, it's the function name or ARN. For
7159
+ # and AUTOMATION task types, `TaskArn` is the Systems Manager document
7160
+ # name or ARN. For LAMBDA tasks, it's the function name or ARN. For
7082
7161
  # STEP\_FUNCTION tasks, it's the state machine ARN.
7083
7162
  # @return [String]
7084
7163
  #
@@ -8390,7 +8469,7 @@ module Aws::SSM
8390
8469
  # data as a hash:
8391
8470
  #
8392
8471
  # {
8393
- # resource_type: "ManagedInstance", # required, accepts ManagedInstance, MaintenanceWindow, Parameter
8472
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline
8394
8473
  # resource_id: "ResourceId", # required
8395
8474
  # tag_keys: ["TagKey"], # required
8396
8475
  # }
@@ -9037,9 +9116,11 @@ module Aws::SSM
9037
9116
  #
9038
9117
  class StopAutomationExecutionResult < Aws::EmptyStructure; end
9039
9118
 
9040
- # Metadata that you assign to your managed instances. Tags enable you to
9041
- # categorize your managed instances in different ways, for example, by
9042
- # purpose, owner, or environment.
9119
+ # Metadata that you assign to your AWS resources. Tags enable you to
9120
+ # categorize your resources in different ways, for example, by purpose,
9121
+ # owner, or environment. In Systems Manager, you can apply tags to
9122
+ # documents, managed instances, Maintenance Windows, Parameter Store
9123
+ # parameters, and patch baselines.
9043
9124
  #
9044
9125
  # @note When making an API call, you may pass Tag
9045
9126
  # data as a hash:
@@ -9222,7 +9303,7 @@ module Aws::SSM
9222
9303
  # }
9223
9304
  #
9224
9305
  # @!attribute [rw] name
9225
- # The name of the SSM document.
9306
+ # The name of the Systems Manager document.
9226
9307
  # @return [String]
9227
9308
  #
9228
9309
  # @!attribute [rw] instance_id
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.1.0
4
+ version: 1.2.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: 2017-09-01 00:00:00.000000000 Z
11
+ date: 2017-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core