aws-sdk-ssm 1.2.0 → 1.3.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: f1fd58ac0f5335e0d6bab2e8aa6081c6d3b56d80
4
- data.tar.gz: d9d6a31b0da74871461b8961d53887cf59d1088f
3
+ metadata.gz: 3d04467241268a578fca8f87559392838cf64756
4
+ data.tar.gz: 7d019a1a077e850fb13c776d873ae51292ec9fd0
5
5
  SHA512:
6
- metadata.gz: 3387c5643996f440cad5f56047afd62012fa7cc36a68234bf4ed8c04bd9f40645762949fd504a6ec1d0add57c0881a5e296c048dfc0bc7e49184184df1098e29
7
- data.tar.gz: a901c951282adac827ed475b820090f7d9b1451fb11706599ae1238e1f47e360f6d43989dc5c8efb05d10abb72d22539fcdba79779637e1d66330b646c7100d5
6
+ metadata.gz: 50691edc013679dff49431b3f1cbca1b76665da43e9ba5f7229aa1f315bdae20ce407325654d511956ec4869ce999407525dc6fbceefb4f2605a7ff022e94301
7
+ data.tar.gz: 7b5a8f6680b77b1fd3124695b08a44613b172a4e453063cd356c0347a11cf9686a7fb12aa0a2b39bf7207ab2f418f5d217a440ca660ded1a5dba98b601dac1e0
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -188,6 +188,12 @@ module Aws::SSM
188
188
  # @option params [required, String] :resource_id
189
189
  # The resource ID you want to tag.
190
190
  #
191
+ # For the ManagedInstance, MaintenanceWindow, and PatchBaseline values,
192
+ # use the ID of the resource, such as mw-01234361858c9b57b for a
193
+ # Maintenance Window.
194
+ #
195
+ # For the Document and Parameter values, use the name of the resource.
196
+ #
191
197
  # @option params [required, Array<Types::Tag>] :tags
192
198
  # One or more tags. The value parameter is required, but if you don't
193
199
  # want the tag to have a value, specify the parameter with no value, and
@@ -2362,6 +2368,7 @@ module Aws::SSM
2362
2368
  # resp.parameters[0].last_modified_user #=> String
2363
2369
  # resp.parameters[0].description #=> String
2364
2370
  # resp.parameters[0].allowed_pattern #=> String
2371
+ # resp.parameters[0].version #=> Integer
2365
2372
  # resp.next_token #=> String
2366
2373
  #
2367
2374
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters AWS API Documentation
@@ -3195,6 +3202,7 @@ module Aws::SSM
3195
3202
  # resp.parameter.name #=> String
3196
3203
  # resp.parameter.type #=> String, one of "String", "StringList", "SecureString"
3197
3204
  # resp.parameter.value #=> String
3205
+ # resp.parameter.version #=> Integer
3198
3206
  #
3199
3207
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter AWS API Documentation
3200
3208
  #
@@ -3248,6 +3256,7 @@ module Aws::SSM
3248
3256
  # resp.parameters[0].description #=> String
3249
3257
  # resp.parameters[0].value #=> String
3250
3258
  # resp.parameters[0].allowed_pattern #=> String
3259
+ # resp.parameters[0].version #=> Integer
3251
3260
  # resp.next_token #=> String
3252
3261
  #
3253
3262
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory AWS API Documentation
@@ -3287,6 +3296,7 @@ module Aws::SSM
3287
3296
  # resp.parameters[0].name #=> String
3288
3297
  # resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
3289
3298
  # resp.parameters[0].value #=> String
3299
+ # resp.parameters[0].version #=> Integer
3290
3300
  # resp.invalid_parameters #=> Array
3291
3301
  # resp.invalid_parameters[0] #=> String
3292
3302
  #
@@ -3368,6 +3378,7 @@ module Aws::SSM
3368
3378
  # resp.parameters[0].name #=> String
3369
3379
  # resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
3370
3380
  # resp.parameters[0].value #=> String
3381
+ # resp.parameters[0].version #=> Integer
3371
3382
  # resp.next_token #=> String
3372
3383
  #
3373
3384
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath AWS API Documentation
@@ -4447,7 +4458,9 @@ module Aws::SSM
4447
4458
  # example, for String types with values restricted to numbers, you can
4448
4459
  # specify the following: AllowedPattern=^\\d+$
4449
4460
  #
4450
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4461
+ # @return [Types::PutParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4462
+ #
4463
+ # * {Types::PutParameterResult#version #version} => Integer
4451
4464
  #
4452
4465
  # @example Request syntax with placeholder values
4453
4466
  #
@@ -4461,6 +4474,10 @@ module Aws::SSM
4461
4474
  # allowed_pattern: "AllowedPattern",
4462
4475
  # })
4463
4476
  #
4477
+ # @example Response structure
4478
+ #
4479
+ # resp.version #=> Integer
4480
+ #
4464
4481
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter AWS API Documentation
4465
4482
  #
4466
4483
  # @overload put_parameter(params = {})
@@ -5848,7 +5865,7 @@ module Aws::SSM
5848
5865
  params: params,
5849
5866
  config: config)
5850
5867
  context[:gem_name] = 'aws-sdk-ssm'
5851
- context[:gem_version] = '1.2.0'
5868
+ context[:gem_version] = '1.3.0'
5852
5869
  Seahorse::Client::Request.new(handlers, context)
5853
5870
  end
5854
5871
 
@@ -523,6 +523,7 @@ module Aws::SSM
523
523
  OwnerInformation = Shapes::StringShape.new(name: 'OwnerInformation')
524
524
  PSParameterName = Shapes::StringShape.new(name: 'PSParameterName')
525
525
  PSParameterValue = Shapes::StringShape.new(name: 'PSParameterValue')
526
+ PSParameterVersion = Shapes::IntegerShape.new(name: 'PSParameterVersion')
526
527
  Parameter = Shapes::StructureShape.new(name: 'Parameter')
527
528
  ParameterAlreadyExists = Shapes::StructureShape.new(name: 'ParameterAlreadyExists')
528
529
  ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
@@ -531,6 +532,7 @@ module Aws::SSM
531
532
  ParameterKeyId = Shapes::StringShape.new(name: 'ParameterKeyId')
532
533
  ParameterLimitExceeded = Shapes::StructureShape.new(name: 'ParameterLimitExceeded')
533
534
  ParameterList = Shapes::ListShape.new(name: 'ParameterList')
535
+ ParameterMaxVersionLimitExceeded = Shapes::StructureShape.new(name: 'ParameterMaxVersionLimitExceeded')
534
536
  ParameterMetadata = Shapes::StructureShape.new(name: 'ParameterMetadata')
535
537
  ParameterMetadataList = Shapes::ListShape.new(name: 'ParameterMetadataList')
536
538
  ParameterName = Shapes::StringShape.new(name: 'ParameterName')
@@ -546,6 +548,7 @@ module Aws::SSM
546
548
  ParameterType = Shapes::StringShape.new(name: 'ParameterType')
547
549
  ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
548
550
  ParameterValueList = Shapes::ListShape.new(name: 'ParameterValueList')
551
+ ParameterVersionNotFound = Shapes::StructureShape.new(name: 'ParameterVersionNotFound')
549
552
  Parameters = Shapes::MapShape.new(name: 'Parameters')
550
553
  ParametersFilter = Shapes::StructureShape.new(name: 'ParametersFilter')
551
554
  ParametersFilterKey = Shapes::StringShape.new(name: 'ParametersFilterKey')
@@ -2093,6 +2096,7 @@ module Aws::SSM
2093
2096
  Parameter.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, location_name: "Name"))
2094
2097
  Parameter.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
2095
2098
  Parameter.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, location_name: "Value"))
2099
+ Parameter.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2096
2100
  Parameter.struct_class = Types::Parameter
2097
2101
 
2098
2102
  ParameterHistory.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, location_name: "Name"))
@@ -2103,6 +2107,7 @@ module Aws::SSM
2103
2107
  ParameterHistory.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
2104
2108
  ParameterHistory.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, location_name: "Value"))
2105
2109
  ParameterHistory.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
2110
+ ParameterHistory.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2106
2111
  ParameterHistory.struct_class = Types::ParameterHistory
2107
2112
 
2108
2113
  ParameterHistoryList.member = Shapes::ShapeRef.new(shape: ParameterHistory)
@@ -2116,6 +2121,7 @@ module Aws::SSM
2116
2121
  ParameterMetadata.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: String, location_name: "LastModifiedUser"))
2117
2122
  ParameterMetadata.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
2118
2123
  ParameterMetadata.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
2124
+ ParameterMetadata.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2119
2125
  ParameterMetadata.struct_class = Types::ParameterMetadata
2120
2126
 
2121
2127
  ParameterMetadataList.member = Shapes::ShapeRef.new(shape: ParameterMetadata)
@@ -2251,6 +2257,7 @@ module Aws::SSM
2251
2257
  PutParameterRequest.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
2252
2258
  PutParameterRequest.struct_class = Types::PutParameterRequest
2253
2259
 
2260
+ PutParameterResult.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2254
2261
  PutParameterResult.struct_class = Types::PutParameterResult
2255
2262
 
2256
2263
  RegisterDefaultPatchBaselineRequest.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, required: true, location_name: "BaselineId"))
@@ -2705,6 +2712,7 @@ module Aws::SSM
2705
2712
  o.errors << Shapes::ShapeRef.new(shape: InvalidActivationId)
2706
2713
  o.errors << Shapes::ShapeRef.new(shape: InvalidActivation)
2707
2714
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2715
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
2708
2716
  end)
2709
2717
 
2710
2718
  api.add_operation(:delete_association, Seahorse::Model::Operation.new.tap do |o|
@@ -3219,6 +3227,7 @@ module Aws::SSM
3219
3227
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3220
3228
  o.errors << Shapes::ShapeRef.new(shape: InvalidKeyId)
3221
3229
  o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
3230
+ o.errors << Shapes::ShapeRef.new(shape: ParameterVersionNotFound)
3222
3231
  end)
3223
3232
 
3224
3233
  api.add_operation(:get_parameter_history, Seahorse::Model::Operation.new.tap do |o|
@@ -3513,6 +3522,7 @@ module Aws::SSM
3513
3522
  o.errors << Shapes::ShapeRef.new(shape: HierarchyLevelLimitExceededException)
3514
3523
  o.errors << Shapes::ShapeRef.new(shape: HierarchyTypeMismatchException)
3515
3524
  o.errors << Shapes::ShapeRef.new(shape: InvalidAllowedPatternException)
3525
+ o.errors << Shapes::ShapeRef.new(shape: ParameterMaxVersionLimitExceeded)
3516
3526
  o.errors << Shapes::ShapeRef.new(shape: ParameterPatternMismatchException)
3517
3527
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedParameterType)
3518
3528
  end)
@@ -88,6 +88,12 @@ module Aws::SSM
88
88
  #
89
89
  # @!attribute [rw] resource_id
90
90
  # The resource ID you want to tag.
91
+ #
92
+ # For the ManagedInstance, MaintenanceWindow, and PatchBaseline
93
+ # values, use the ID of the resource, such as mw-01234361858c9b57b for
94
+ # a Maintenance Window.
95
+ #
96
+ # For the Document and Parameter values, use the name of the resource.
91
97
  # @return [String]
92
98
  #
93
99
  # @!attribute [rw] tags
@@ -7440,12 +7446,17 @@ module Aws::SSM
7440
7446
  # The parameter value.
7441
7447
  # @return [String]
7442
7448
  #
7449
+ # @!attribute [rw] version
7450
+ # The parameter version.
7451
+ # @return [Integer]
7452
+ #
7443
7453
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter AWS API Documentation
7444
7454
  #
7445
7455
  class Parameter < Struct.new(
7446
7456
  :name,
7447
7457
  :type,
7448
- :value)
7458
+ :value,
7459
+ :version)
7449
7460
  include Aws::Structure
7450
7461
  end
7451
7462
 
@@ -7486,6 +7497,10 @@ module Aws::SSM
7486
7497
  # a-zA-Z0-9\_.-
7487
7498
  # @return [String]
7488
7499
  #
7500
+ # @!attribute [rw] version
7501
+ # The parameter version.
7502
+ # @return [Integer]
7503
+ #
7489
7504
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory AWS API Documentation
7490
7505
  #
7491
7506
  class ParameterHistory < Struct.new(
@@ -7496,7 +7511,8 @@ module Aws::SSM
7496
7511
  :last_modified_user,
7497
7512
  :description,
7498
7513
  :value,
7499
- :allowed_pattern)
7514
+ :allowed_pattern,
7515
+ :version)
7500
7516
  include Aws::Structure
7501
7517
  end
7502
7518
 
@@ -7535,6 +7551,10 @@ module Aws::SSM
7535
7551
  # a-zA-Z0-9\_.-
7536
7552
  # @return [String]
7537
7553
  #
7554
+ # @!attribute [rw] version
7555
+ # The parameter version.
7556
+ # @return [Integer]
7557
+ #
7538
7558
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata AWS API Documentation
7539
7559
  #
7540
7560
  class ParameterMetadata < Struct.new(
@@ -7544,7 +7564,8 @@ module Aws::SSM
7544
7564
  :last_modified_date,
7545
7565
  :last_modified_user,
7546
7566
  :description,
7547
- :allowed_pattern)
7567
+ :allowed_pattern,
7568
+ :version)
7548
7569
  include Aws::Structure
7549
7570
  end
7550
7571
 
@@ -8144,9 +8165,22 @@ module Aws::SSM
8144
8165
  include Aws::Structure
8145
8166
  end
8146
8167
 
8168
+ # @!attribute [rw] version
8169
+ # The new version number of a parameter. If you edit a parameter
8170
+ # value, Parameter Store automatically creates a new version and
8171
+ # assigns this new version a unique ID. You can reference a parameter
8172
+ # version ID in API actions or in Systems Manager documents (SSM
8173
+ # documents). By default, if you don't specify a specific version,
8174
+ # the system returns the latest parameter value when a parameter is
8175
+ # called.
8176
+ # @return [Integer]
8177
+ #
8147
8178
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterResult AWS API Documentation
8148
8179
  #
8149
- class PutParameterResult < Aws::EmptyStructure; end
8180
+ class PutParameterResult < Struct.new(
8181
+ :version)
8182
+ include Aws::Structure
8183
+ end
8150
8184
 
8151
8185
  # @note When making an API call, you may pass RegisterDefaultPatchBaselineRequest
8152
8186
  # data as a hash:
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.2.0
4
+ version: 1.3.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-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core