aws-sdk-ssm 1.18.0 → 1.19.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: 61669e1ffc44f501f8fa68d5483abd705ee33cea
4
- data.tar.gz: 16a245e245126129b9f4472176a8592829fc3547
3
+ metadata.gz: 2d8b3543e5ff3a90ec35706cdeed21e50f460fd1
4
+ data.tar.gz: 97b80c7d9b9b85f9454813fea7a6cfcad1e6c9a4
5
5
  SHA512:
6
- metadata.gz: 62a44e2e57832a5eb49f316f2fecf25424111cbbbd1528d0c1e776a7148e750763aff4431e6da948baa5bedaa037f708c78dfae4bf8581fc956628d396878970
7
- data.tar.gz: 3f689f1f8790ba2043e71ccfc141de253873eae3608b430174c5af5162613b764bdc36a91e658c7cb73ea491f7208a4ca42fe936938d3e81458124e0845cbefe
6
+ metadata.gz: 9bc47a0fe9e9da900488cb160187ab65eec50765da2132ddb4090a0d1f888ead917c0880734aaddaed623898fa50c1ac95cf2e3962817de9edd90e67d15fa5dc
7
+ data.tar.gz: c7366a2228ac16d2146ab4b80d57945639103f6a494693c17a6c40347b09028c418adb044a6c0775e38b79469af2b9658b62b5c35d6af5714774253b13f9003b
data/lib/aws-sdk-ssm.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-ssm/customizations'
42
42
  # @service
43
43
  module Aws::SSM
44
44
 
45
- GEM_VERSION = '1.18.0'
45
+ GEM_VERSION = '1.19.0'
46
46
 
47
47
  end
@@ -3757,6 +3757,10 @@ module Aws::SSM
3757
3757
  # resp.parameter.type #=> String, one of "String", "StringList", "SecureString"
3758
3758
  # resp.parameter.value #=> String
3759
3759
  # resp.parameter.version #=> Integer
3760
+ # resp.parameter.selector #=> String
3761
+ # resp.parameter.source_result #=> String
3762
+ # resp.parameter.last_modified_date #=> Time
3763
+ # resp.parameter.arn #=> String
3760
3764
  #
3761
3765
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter AWS API Documentation
3762
3766
  #
@@ -3811,6 +3815,8 @@ module Aws::SSM
3811
3815
  # resp.parameters[0].value #=> String
3812
3816
  # resp.parameters[0].allowed_pattern #=> String
3813
3817
  # resp.parameters[0].version #=> Integer
3818
+ # resp.parameters[0].labels #=> Array
3819
+ # resp.parameters[0].labels[0] #=> String
3814
3820
  # resp.next_token #=> String
3815
3821
  #
3816
3822
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory AWS API Documentation
@@ -3852,6 +3858,10 @@ module Aws::SSM
3852
3858
  # resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
3853
3859
  # resp.parameters[0].value #=> String
3854
3860
  # resp.parameters[0].version #=> Integer
3861
+ # resp.parameters[0].selector #=> String
3862
+ # resp.parameters[0].source_result #=> String
3863
+ # resp.parameters[0].last_modified_date #=> Time
3864
+ # resp.parameters[0].arn #=> String
3855
3865
  # resp.invalid_parameters #=> Array
3856
3866
  # resp.invalid_parameters[0] #=> String
3857
3867
  #
@@ -3948,6 +3958,10 @@ module Aws::SSM
3948
3958
  # resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
3949
3959
  # resp.parameters[0].value #=> String
3950
3960
  # resp.parameters[0].version #=> Integer
3961
+ # resp.parameters[0].selector #=> String
3962
+ # resp.parameters[0].source_result #=> String
3963
+ # resp.parameters[0].last_modified_date #=> Time
3964
+ # resp.parameters[0].arn #=> String
3951
3965
  # resp.next_token #=> String
3952
3966
  #
3953
3967
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath AWS API Documentation
@@ -4068,6 +4082,38 @@ module Aws::SSM
4068
4082
  req.send_request(options)
4069
4083
  end
4070
4084
 
4085
+ # @option params [required, String] :name
4086
+ #
4087
+ # @option params [Integer] :parameter_version
4088
+ #
4089
+ # @option params [required, Array<String>] :labels
4090
+ #
4091
+ # @return [Types::LabelParameterVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4092
+ #
4093
+ # * {Types::LabelParameterVersionResult#invalid_labels #invalid_labels} => Array&lt;String&gt;
4094
+ #
4095
+ # @example Request syntax with placeholder values
4096
+ #
4097
+ # resp = client.label_parameter_version({
4098
+ # name: "PSParameterName", # required
4099
+ # parameter_version: 1,
4100
+ # labels: ["ParameterLabel"], # required
4101
+ # })
4102
+ #
4103
+ # @example Response structure
4104
+ #
4105
+ # resp.invalid_labels #=> Array
4106
+ # resp.invalid_labels[0] #=> String
4107
+ #
4108
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersion AWS API Documentation
4109
+ #
4110
+ # @overload label_parameter_version(params = {})
4111
+ # @param [Hash] params ({})
4112
+ def label_parameter_version(params = {}, options = {})
4113
+ req = build_request(:label_parameter_version, params)
4114
+ req.send_request(options)
4115
+ end
4116
+
4071
4117
  # Retrieves all versions of an association for a specific association
4072
4118
  # ID.
4073
4119
  #
@@ -6805,7 +6851,7 @@ module Aws::SSM
6805
6851
  params: params,
6806
6852
  config: config)
6807
6853
  context[:gem_name] = 'aws-sdk-ssm'
6808
- context[:gem_version] = '1.18.0'
6854
+ context[:gem_version] = '1.19.0'
6809
6855
  Seahorse::Client::Request.new(handlers, context)
6810
6856
  end
6811
6857
 
@@ -476,6 +476,8 @@ module Aws::SSM
476
476
  ItemContentMismatchException = Shapes::StructureShape.new(name: 'ItemContentMismatchException')
477
477
  ItemSizeLimitExceededException = Shapes::StructureShape.new(name: 'ItemSizeLimitExceededException')
478
478
  KeyList = Shapes::ListShape.new(name: 'KeyList')
479
+ LabelParameterVersionRequest = Shapes::StructureShape.new(name: 'LabelParameterVersionRequest')
480
+ LabelParameterVersionResult = Shapes::StructureShape.new(name: 'LabelParameterVersionResult')
479
481
  LastResourceDataSyncMessage = Shapes::StringShape.new(name: 'LastResourceDataSyncMessage')
480
482
  LastResourceDataSyncStatus = Shapes::StringShape.new(name: 'LastResourceDataSyncStatus')
481
483
  LastResourceDataSyncTime = Shapes::TimestampShape.new(name: 'LastResourceDataSyncTime')
@@ -585,6 +587,7 @@ module Aws::SSM
585
587
  OutputSourceType = Shapes::StringShape.new(name: 'OutputSourceType')
586
588
  OwnerInformation = Shapes::StringShape.new(name: 'OwnerInformation')
587
589
  PSParameterName = Shapes::StringShape.new(name: 'PSParameterName')
590
+ PSParameterSelector = Shapes::StringShape.new(name: 'PSParameterSelector')
588
591
  PSParameterValue = Shapes::StringShape.new(name: 'PSParameterValue')
589
592
  PSParameterVersion = Shapes::IntegerShape.new(name: 'PSParameterVersion')
590
593
  Parameter = Shapes::StructureShape.new(name: 'Parameter')
@@ -593,6 +596,8 @@ module Aws::SSM
593
596
  ParameterHistory = Shapes::StructureShape.new(name: 'ParameterHistory')
594
597
  ParameterHistoryList = Shapes::ListShape.new(name: 'ParameterHistoryList')
595
598
  ParameterKeyId = Shapes::StringShape.new(name: 'ParameterKeyId')
599
+ ParameterLabel = Shapes::StringShape.new(name: 'ParameterLabel')
600
+ ParameterLabelList = Shapes::ListShape.new(name: 'ParameterLabelList')
596
601
  ParameterLimitExceeded = Shapes::StructureShape.new(name: 'ParameterLimitExceeded')
597
602
  ParameterList = Shapes::ListShape.new(name: 'ParameterList')
598
603
  ParameterMaxVersionLimitExceeded = Shapes::StructureShape.new(name: 'ParameterMaxVersionLimitExceeded')
@@ -611,6 +616,7 @@ module Aws::SSM
611
616
  ParameterType = Shapes::StringShape.new(name: 'ParameterType')
612
617
  ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
613
618
  ParameterValueList = Shapes::ListShape.new(name: 'ParameterValueList')
619
+ ParameterVersionLabelLimitExceeded = Shapes::StructureShape.new(name: 'ParameterVersionLabelLimitExceeded')
614
620
  ParameterVersionNotFound = Shapes::StructureShape.new(name: 'ParameterVersionNotFound')
615
621
  Parameters = Shapes::MapShape.new(name: 'Parameters')
616
622
  ParametersFilter = Shapes::StructureShape.new(name: 'ParametersFilter')
@@ -2079,6 +2085,14 @@ module Aws::SSM
2079
2085
 
2080
2086
  KeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2081
2087
 
2088
+ LabelParameterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
2089
+ LabelParameterVersionRequest.add_member(:parameter_version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "ParameterVersion", metadata: {"box"=>true}))
2090
+ LabelParameterVersionRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, required: true, location_name: "Labels"))
2091
+ LabelParameterVersionRequest.struct_class = Types::LabelParameterVersionRequest
2092
+
2093
+ LabelParameterVersionResult.add_member(:invalid_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "InvalidLabels"))
2094
+ LabelParameterVersionResult.struct_class = Types::LabelParameterVersionResult
2095
+
2082
2096
  ListAssociationVersionsRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location_name: "AssociationId"))
2083
2097
  ListAssociationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
2084
2098
  ListAssociationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -2359,6 +2373,10 @@ module Aws::SSM
2359
2373
  Parameter.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
2360
2374
  Parameter.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, location_name: "Value"))
2361
2375
  Parameter.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2376
+ Parameter.add_member(:selector, Shapes::ShapeRef.new(shape: PSParameterSelector, location_name: "Selector"))
2377
+ Parameter.add_member(:source_result, Shapes::ShapeRef.new(shape: String, location_name: "SourceResult"))
2378
+ Parameter.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
2379
+ Parameter.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
2362
2380
  Parameter.struct_class = Types::Parameter
2363
2381
 
2364
2382
  ParameterHistory.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, location_name: "Name"))
@@ -2370,10 +2388,13 @@ module Aws::SSM
2370
2388
  ParameterHistory.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, location_name: "Value"))
2371
2389
  ParameterHistory.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
2372
2390
  ParameterHistory.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
2391
+ ParameterHistory.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "Labels"))
2373
2392
  ParameterHistory.struct_class = Types::ParameterHistory
2374
2393
 
2375
2394
  ParameterHistoryList.member = Shapes::ShapeRef.new(shape: ParameterHistory)
2376
2395
 
2396
+ ParameterLabelList.member = Shapes::ShapeRef.new(shape: ParameterLabel)
2397
+
2377
2398
  ParameterList.member = Shapes::ShapeRef.new(shape: Parameter)
2378
2399
 
2379
2400
  ParameterMetadata.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, location_name: "Name"))
@@ -3680,6 +3701,19 @@ module Aws::SSM
3680
3701
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3681
3702
  end)
3682
3703
 
3704
+ api.add_operation(:label_parameter_version, Seahorse::Model::Operation.new.tap do |o|
3705
+ o.name = "LabelParameterVersion"
3706
+ o.http_method = "POST"
3707
+ o.http_request_uri = "/"
3708
+ o.input = Shapes::ShapeRef.new(shape: LabelParameterVersionRequest)
3709
+ o.output = Shapes::ShapeRef.new(shape: LabelParameterVersionResult)
3710
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
3711
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
3712
+ o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
3713
+ o.errors << Shapes::ShapeRef.new(shape: ParameterVersionNotFound)
3714
+ o.errors << Shapes::ShapeRef.new(shape: ParameterVersionLabelLimitExceeded)
3715
+ end)
3716
+
3683
3717
  api.add_operation(:list_association_versions, Seahorse::Model::Operation.new.tap do |o|
3684
3718
  o.name = "ListAssociationVersions"
3685
3719
  o.http_method = "POST"
@@ -7013,6 +7013,43 @@ module Aws::SSM
7013
7013
  include Aws::Structure
7014
7014
  end
7015
7015
 
7016
+ # @note When making an API call, you may pass LabelParameterVersionRequest
7017
+ # data as a hash:
7018
+ #
7019
+ # {
7020
+ # name: "PSParameterName", # required
7021
+ # parameter_version: 1,
7022
+ # labels: ["ParameterLabel"], # required
7023
+ # }
7024
+ #
7025
+ # @!attribute [rw] name
7026
+ # @return [String]
7027
+ #
7028
+ # @!attribute [rw] parameter_version
7029
+ # @return [Integer]
7030
+ #
7031
+ # @!attribute [rw] labels
7032
+ # @return [Array<String>]
7033
+ #
7034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersionRequest AWS API Documentation
7035
+ #
7036
+ class LabelParameterVersionRequest < Struct.new(
7037
+ :name,
7038
+ :parameter_version,
7039
+ :labels)
7040
+ include Aws::Structure
7041
+ end
7042
+
7043
+ # @!attribute [rw] invalid_labels
7044
+ # @return [Array<String>]
7045
+ #
7046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersionResult AWS API Documentation
7047
+ #
7048
+ class LabelParameterVersionResult < Struct.new(
7049
+ :invalid_labels)
7050
+ include Aws::Structure
7051
+ end
7052
+
7016
7053
  # @note When making an API call, you may pass ListAssociationVersionsRequest
7017
7054
  # data as a hash:
7018
7055
  #
@@ -8657,13 +8694,42 @@ module Aws::SSM
8657
8694
  # The parameter version.
8658
8695
  # @return [Integer]
8659
8696
  #
8697
+ # @!attribute [rw] selector
8698
+ # Either the version number or the label used to retrieve the
8699
+ # parameter value. Specify selectors by using one of the following
8700
+ # formats:
8701
+ #
8702
+ # parameter\_name:version
8703
+ #
8704
+ # parameter\_name:label
8705
+ # @return [String]
8706
+ #
8707
+ # @!attribute [rw] source_result
8708
+ # Applies to parameters that reference information in other AWS
8709
+ # services. SourceResult is the raw result or response from the
8710
+ # source.
8711
+ # @return [String]
8712
+ #
8713
+ # @!attribute [rw] last_modified_date
8714
+ # Date the parameter was last changed or updated and the parameter
8715
+ # version was created.
8716
+ # @return [Time]
8717
+ #
8718
+ # @!attribute [rw] arn
8719
+ # The Amazon Resource Name (ARN) of the parameter.
8720
+ # @return [String]
8721
+ #
8660
8722
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter AWS API Documentation
8661
8723
  #
8662
8724
  class Parameter < Struct.new(
8663
8725
  :name,
8664
8726
  :type,
8665
8727
  :value,
8666
- :version)
8728
+ :version,
8729
+ :selector,
8730
+ :source_result,
8731
+ :last_modified_date,
8732
+ :arn)
8667
8733
  include Aws::Structure
8668
8734
  end
8669
8735
 
@@ -8708,6 +8774,10 @@ module Aws::SSM
8708
8774
  # The parameter version.
8709
8775
  # @return [Integer]
8710
8776
  #
8777
+ # @!attribute [rw] labels
8778
+ # Labels assigned to the parameter version.
8779
+ # @return [Array<String>]
8780
+ #
8711
8781
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory AWS API Documentation
8712
8782
  #
8713
8783
  class ParameterHistory < Struct.new(
@@ -8719,7 +8789,8 @@ module Aws::SSM
8719
8789
  :description,
8720
8790
  :value,
8721
8791
  :allowed_pattern,
8722
- :version)
8792
+ :version,
8793
+ :labels)
8723
8794
  include Aws::Structure
8724
8795
  end
8725
8796
 
@@ -11074,34 +11145,25 @@ module Aws::SSM
11074
11145
  # @return [Hash<String,Array<String>>]
11075
11146
  #
11076
11147
  # @!attribute [rw] is_end
11077
- # Enable this option to stop an Automation execution at the end of a
11078
- # specific step. The Automation execution stops if the step execution
11079
- # failed or succeeded.
11148
+ # The flag which can be used to end automation no matter whether the
11149
+ # step succeeds or fails.
11080
11150
  # @return [Boolean]
11081
11151
  #
11082
11152
  # @!attribute [rw] next_step
11083
- # Specifies which step in an Automation to process next after
11084
- # successfully completing a step.
11153
+ # The next step after the step succeeds.
11085
11154
  # @return [String]
11086
11155
  #
11087
11156
  # @!attribute [rw] is_critical
11088
- # Enable this option to designate a step as critical for the
11089
- # successful completion of the Automation. If a step with this
11090
- # designation fails, then Automation reports the final status of the
11091
- # Automation as Failed.
11157
+ # The flag which can be used to help decide whether the failure of
11158
+ # current step leads to the Automation failure.
11092
11159
  # @return [Boolean]
11093
11160
  #
11094
11161
  # @!attribute [rw] valid_next_steps
11095
- # ValidNextSteps offer different strategies for managing an Automation
11096
- # workflow when a step finishes. Automation dynamically processes
11097
- # ValidNextSteps when a step is completed. For example, you can
11098
- # specify `Abort` to stop the Automation when a step fails or
11099
- # `Continue` to ignore the failure of the current step and allow
11100
- # Automation to continue processing the next step. You can also
11101
- # specify `step:step_name ` to jump to a designated step after a step
11102
- # succeeds. The result of the current step dynamically determines the
11103
- # ValidNextSteps. If a step finishes and no ValidNextStep is
11104
- # designated, then the Automation stops.
11162
+ # Strategies used when step fails, we support Continue and Abort.
11163
+ # Abort will fail the automation when the step fails. Continue will
11164
+ # ignore the failure of current step and allow automation to execute
11165
+ # the next step. With conditional branching, we add step:stepName to
11166
+ # support the automation to go to another specific step.
11105
11167
  # @return [Array<String>]
11106
11168
  #
11107
11169
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecution AWS API Documentation
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.18.0
4
+ version: 1.19.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: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core