aws-sdk-ssm 1.75.0 → 1.76.0
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 +33 -8
- data/lib/aws-sdk-ssm/client_api.rb +6 -1
- data/lib/aws-sdk-ssm/types.rb +47 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd47ec7b8adc6d08078b33ef5187345d93c5766fda9dc536541ed943cdeb13f9
|
4
|
+
data.tar.gz: 1d31c54293ec3a58b7844709ab4f013a7c592fc0ac27b7f58d0eead098a74df3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 337d894b47c4f5774e5bdd9c0c4246d628bb2687c2414544e263a36e47e9e472831c9fec73ac41e1fb9ba1da179f43faa1ad96eee71d67cfbe9f5f7b758413d1
|
7
|
+
data.tar.gz: f3d5e09ec474a7cf64c98969464c130d54e73d762b9e7bf98cada2a2a26899bb650221d48fd26f11ca0336f16f3c2619c53b12950d9d78e66fc43f9726142854
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -335,11 +335,10 @@ module Aws::SSM
|
|
335
335
|
# for each resource type. Using a consistent set of tag keys makes it
|
336
336
|
# easier for you to manage your resources. You can search and filter the
|
337
337
|
# resources based on the tags you add. Tags don't have any semantic
|
338
|
-
# meaning to
|
339
|
-
# characters.
|
338
|
+
# meaning to and are interpreted strictly as a string of characters.
|
340
339
|
#
|
341
|
-
# For more information about tags, see [Tagging
|
342
|
-
# resources][1] in the *Amazon EC2 User Guide*.
|
340
|
+
# For more information about using tags with EC2 instances, see [Tagging
|
341
|
+
# your Amazon EC2 resources][1] in the *Amazon EC2 User Guide*.
|
343
342
|
#
|
344
343
|
#
|
345
344
|
#
|
@@ -1277,7 +1276,7 @@ module Aws::SSM
|
|
1277
1276
|
# impacted resource.
|
1278
1277
|
#
|
1279
1278
|
# @option params [required, String] :source
|
1280
|
-
# The origin of the OpsItem, such as EC2 or Systems Manager.
|
1279
|
+
# The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
|
1281
1280
|
#
|
1282
1281
|
# <note markdown="1"> The source name can't contain the following strings: aws, amazon, and
|
1283
1282
|
# amzn.
|
@@ -3939,6 +3938,7 @@ module Aws::SSM
|
|
3939
3938
|
# resp.parameters[0].policies[0].policy_text #=> String
|
3940
3939
|
# resp.parameters[0].policies[0].policy_type #=> String
|
3941
3940
|
# resp.parameters[0].policies[0].policy_status #=> String
|
3941
|
+
# resp.parameters[0].data_type #=> String
|
3942
3942
|
# resp.next_token #=> String
|
3943
3943
|
#
|
3944
3944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters AWS API Documentation
|
@@ -5314,6 +5314,7 @@ module Aws::SSM
|
|
5314
5314
|
# resp.parameter.source_result #=> String
|
5315
5315
|
# resp.parameter.last_modified_date #=> Time
|
5316
5316
|
# resp.parameter.arn #=> String
|
5317
|
+
# resp.parameter.data_type #=> String
|
5317
5318
|
#
|
5318
5319
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter AWS API Documentation
|
5319
5320
|
#
|
@@ -5377,6 +5378,7 @@ module Aws::SSM
|
|
5377
5378
|
# resp.parameters[0].policies[0].policy_text #=> String
|
5378
5379
|
# resp.parameters[0].policies[0].policy_type #=> String
|
5379
5380
|
# resp.parameters[0].policies[0].policy_status #=> String
|
5381
|
+
# resp.parameters[0].data_type #=> String
|
5380
5382
|
# resp.next_token #=> String
|
5381
5383
|
#
|
5382
5384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory AWS API Documentation
|
@@ -5422,6 +5424,7 @@ module Aws::SSM
|
|
5422
5424
|
# resp.parameters[0].source_result #=> String
|
5423
5425
|
# resp.parameters[0].last_modified_date #=> Time
|
5424
5426
|
# resp.parameters[0].arn #=> String
|
5427
|
+
# resp.parameters[0].data_type #=> String
|
5425
5428
|
# resp.invalid_parameters #=> Array
|
5426
5429
|
# resp.invalid_parameters[0] #=> String
|
5427
5430
|
#
|
@@ -5514,6 +5517,7 @@ module Aws::SSM
|
|
5514
5517
|
# resp.parameters[0].source_result #=> String
|
5515
5518
|
# resp.parameters[0].last_modified_date #=> Time
|
5516
5519
|
# resp.parameters[0].arn #=> String
|
5520
|
+
# resp.parameters[0].data_type #=> String
|
5517
5521
|
# resp.next_token #=> String
|
5518
5522
|
#
|
5519
5523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath AWS API Documentation
|
@@ -6879,7 +6883,7 @@ module Aws::SSM
|
|
6879
6883
|
# parameters have a value limit of 4 KB. Advanced parameters have a
|
6880
6884
|
# value limit of 8 KB.
|
6881
6885
|
#
|
6882
|
-
# @option params [
|
6886
|
+
# @option params [String] :type
|
6883
6887
|
# The type of parameter that you want to add to the system.
|
6884
6888
|
#
|
6885
6889
|
# Items in a `StringList` must be separated by a comma (,). You can't
|
@@ -7042,6 +7046,26 @@ module Aws::SSM
|
|
7042
7046
|
#
|
7043
7047
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
7044
7048
|
#
|
7049
|
+
# @option params [String] :data_type
|
7050
|
+
# The data type for a String parameter. Supported data types include
|
7051
|
+
# plain text and Amazon Machine Image IDs.
|
7052
|
+
#
|
7053
|
+
# **The following data type values are supported.**
|
7054
|
+
#
|
7055
|
+
# * `text`
|
7056
|
+
#
|
7057
|
+
# * `aws:ec2:image`
|
7058
|
+
#
|
7059
|
+
# When you create a String parameter and specify `aws:ec2:image`,
|
7060
|
+
# Systems Manager validates the parameter value you provide against that
|
7061
|
+
# data type. The required format is `ami-12345abcdeEXAMPLE`. For more
|
7062
|
+
# information, see [Native parameter support for Amazon Machine Image
|
7063
|
+
# IDs][1] in the *AWS Systems Manager User Guide*.
|
7064
|
+
#
|
7065
|
+
#
|
7066
|
+
#
|
7067
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html
|
7068
|
+
#
|
7045
7069
|
# @return [Types::PutParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7046
7070
|
#
|
7047
7071
|
# * {Types::PutParameterResult#version #version} => Integer
|
@@ -7053,7 +7077,7 @@ module Aws::SSM
|
|
7053
7077
|
# name: "PSParameterName", # required
|
7054
7078
|
# description: "ParameterDescription",
|
7055
7079
|
# value: "PSParameterValue", # required
|
7056
|
-
# type: "String", #
|
7080
|
+
# type: "String", # accepts String, StringList, SecureString
|
7057
7081
|
# key_id: "ParameterKeyId",
|
7058
7082
|
# overwrite: false,
|
7059
7083
|
# allowed_pattern: "AllowedPattern",
|
@@ -7065,6 +7089,7 @@ module Aws::SSM
|
|
7065
7089
|
# ],
|
7066
7090
|
# tier: "Standard", # accepts Standard, Advanced, Intelligent-Tiering
|
7067
7091
|
# policies: "ParameterPolicies",
|
7092
|
+
# data_type: "ParameterDataType",
|
7068
7093
|
# })
|
7069
7094
|
#
|
7070
7095
|
# @example Response structure
|
@@ -9482,7 +9507,7 @@ module Aws::SSM
|
|
9482
9507
|
params: params,
|
9483
9508
|
config: config)
|
9484
9509
|
context[:gem_name] = 'aws-sdk-ssm'
|
9485
|
-
context[:gem_version] = '1.
|
9510
|
+
context[:gem_version] = '1.76.0'
|
9486
9511
|
Seahorse::Client::Request.new(handlers, context)
|
9487
9512
|
end
|
9488
9513
|
|
@@ -723,6 +723,7 @@ module Aws::SSM
|
|
723
723
|
PSParameterVersion = Shapes::IntegerShape.new(name: 'PSParameterVersion')
|
724
724
|
Parameter = Shapes::StructureShape.new(name: 'Parameter')
|
725
725
|
ParameterAlreadyExists = Shapes::StructureShape.new(name: 'ParameterAlreadyExists')
|
726
|
+
ParameterDataType = Shapes::StringShape.new(name: 'ParameterDataType')
|
726
727
|
ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
|
727
728
|
ParameterHistory = Shapes::StructureShape.new(name: 'ParameterHistory')
|
728
729
|
ParameterHistoryList = Shapes::ListShape.new(name: 'ParameterHistoryList')
|
@@ -3197,6 +3198,7 @@ module Aws::SSM
|
|
3197
3198
|
Parameter.add_member(:source_result, Shapes::ShapeRef.new(shape: String, location_name: "SourceResult"))
|
3198
3199
|
Parameter.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
|
3199
3200
|
Parameter.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
|
3201
|
+
Parameter.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3200
3202
|
Parameter.struct_class = Types::Parameter
|
3201
3203
|
|
3202
3204
|
ParameterAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -3214,6 +3216,7 @@ module Aws::SSM
|
|
3214
3216
|
ParameterHistory.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "Labels"))
|
3215
3217
|
ParameterHistory.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
3216
3218
|
ParameterHistory.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicyList, location_name: "Policies"))
|
3219
|
+
ParameterHistory.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3217
3220
|
ParameterHistory.struct_class = Types::ParameterHistory
|
3218
3221
|
|
3219
3222
|
ParameterHistoryList.member = Shapes::ShapeRef.new(shape: ParameterHistory)
|
@@ -3243,6 +3246,7 @@ module Aws::SSM
|
|
3243
3246
|
ParameterMetadata.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
3244
3247
|
ParameterMetadata.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
3245
3248
|
ParameterMetadata.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicyList, location_name: "Policies"))
|
3249
|
+
ParameterMetadata.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3246
3250
|
ParameterMetadata.struct_class = Types::ParameterMetadata
|
3247
3251
|
|
3248
3252
|
ParameterMetadataList.member = Shapes::ShapeRef.new(shape: ParameterMetadata)
|
@@ -3414,13 +3418,14 @@ module Aws::SSM
|
|
3414
3418
|
PutParameterRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
|
3415
3419
|
PutParameterRequest.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
|
3416
3420
|
PutParameterRequest.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, required: true, location_name: "Value"))
|
3417
|
-
PutParameterRequest.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType,
|
3421
|
+
PutParameterRequest.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "Type"))
|
3418
3422
|
PutParameterRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
|
3419
3423
|
PutParameterRequest.add_member(:overwrite, Shapes::ShapeRef.new(shape: Boolean, location_name: "Overwrite", metadata: {"box"=>true}))
|
3420
3424
|
PutParameterRequest.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
3421
3425
|
PutParameterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
3422
3426
|
PutParameterRequest.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
3423
3427
|
PutParameterRequest.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicies, location_name: "Policies"))
|
3428
|
+
PutParameterRequest.add_member(:data_type, Shapes::ShapeRef.new(shape: ParameterDataType, location_name: "DataType"))
|
3424
3429
|
PutParameterRequest.struct_class = Types::PutParameterRequest
|
3425
3430
|
|
3426
3431
|
PutParameterResult.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -3125,7 +3125,7 @@ module Aws::SSM
|
|
3125
3125
|
# @return [Array<Types::RelatedOpsItem>]
|
3126
3126
|
#
|
3127
3127
|
# @!attribute [rw] source
|
3128
|
-
# The origin of the OpsItem, such as EC2 or Systems Manager.
|
3128
|
+
# The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
|
3129
3129
|
#
|
3130
3130
|
# <note markdown="1"> The source name can't contain the following strings: aws, amazon,
|
3131
3131
|
# and amzn.
|
@@ -12416,6 +12416,11 @@ module Aws::SSM
|
|
12416
12416
|
# The Amazon Resource Name (ARN) of the parameter.
|
12417
12417
|
# @return [String]
|
12418
12418
|
#
|
12419
|
+
# @!attribute [rw] data_type
|
12420
|
+
# The data type of the parameter, such as `text` or `aws:ec2:image`.
|
12421
|
+
# The default is `text`.
|
12422
|
+
# @return [String]
|
12423
|
+
#
|
12419
12424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter AWS API Documentation
|
12420
12425
|
#
|
12421
12426
|
class Parameter < Struct.new(
|
@@ -12426,7 +12431,8 @@ module Aws::SSM
|
|
12426
12431
|
:selector,
|
12427
12432
|
:source_result,
|
12428
12433
|
:last_modified_date,
|
12429
|
-
:arn
|
12434
|
+
:arn,
|
12435
|
+
:data_type)
|
12430
12436
|
include Aws::Structure
|
12431
12437
|
end
|
12432
12438
|
|
@@ -12502,6 +12508,11 @@ module Aws::SSM
|
|
12502
12508
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
12503
12509
|
# @return [Array<Types::ParameterInlinePolicy>]
|
12504
12510
|
#
|
12511
|
+
# @!attribute [rw] data_type
|
12512
|
+
# The data type of the parameter, such as `text` or `aws:ec2:image`.
|
12513
|
+
# The default is `text`.
|
12514
|
+
# @return [String]
|
12515
|
+
#
|
12505
12516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory AWS API Documentation
|
12506
12517
|
#
|
12507
12518
|
class ParameterHistory < Struct.new(
|
@@ -12516,7 +12527,8 @@ module Aws::SSM
|
|
12516
12527
|
:version,
|
12517
12528
|
:labels,
|
12518
12529
|
:tier,
|
12519
|
-
:policies
|
12530
|
+
:policies,
|
12531
|
+
:data_type)
|
12520
12532
|
include Aws::Structure
|
12521
12533
|
end
|
12522
12534
|
|
@@ -12619,6 +12631,11 @@ module Aws::SSM
|
|
12619
12631
|
# A list of policies associated with a parameter.
|
12620
12632
|
# @return [Array<Types::ParameterInlinePolicy>]
|
12621
12633
|
#
|
12634
|
+
# @!attribute [rw] data_type
|
12635
|
+
# The data type of the parameter, such as `text` or `aws:ec2:image`.
|
12636
|
+
# The default is `text`.
|
12637
|
+
# @return [String]
|
12638
|
+
#
|
12622
12639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata AWS API Documentation
|
12623
12640
|
#
|
12624
12641
|
class ParameterMetadata < Struct.new(
|
@@ -12631,7 +12648,8 @@ module Aws::SSM
|
|
12631
12648
|
:allowed_pattern,
|
12632
12649
|
:version,
|
12633
12650
|
:tier,
|
12634
|
-
:policies
|
12651
|
+
:policies,
|
12652
|
+
:data_type)
|
12635
12653
|
include Aws::Structure
|
12636
12654
|
end
|
12637
12655
|
|
@@ -13423,7 +13441,7 @@ module Aws::SSM
|
|
13423
13441
|
# name: "PSParameterName", # required
|
13424
13442
|
# description: "ParameterDescription",
|
13425
13443
|
# value: "PSParameterValue", # required
|
13426
|
-
# type: "String", #
|
13444
|
+
# type: "String", # accepts String, StringList, SecureString
|
13427
13445
|
# key_id: "ParameterKeyId",
|
13428
13446
|
# overwrite: false,
|
13429
13447
|
# allowed_pattern: "AllowedPattern",
|
@@ -13435,6 +13453,7 @@ module Aws::SSM
|
|
13435
13453
|
# ],
|
13436
13454
|
# tier: "Standard", # accepts Standard, Advanced, Intelligent-Tiering
|
13437
13455
|
# policies: "ParameterPolicies",
|
13456
|
+
# data_type: "ParameterDataType",
|
13438
13457
|
# }
|
13439
13458
|
#
|
13440
13459
|
# @!attribute [rw] name
|
@@ -13665,6 +13684,27 @@ module Aws::SSM
|
|
13665
13684
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html
|
13666
13685
|
# @return [String]
|
13667
13686
|
#
|
13687
|
+
# @!attribute [rw] data_type
|
13688
|
+
# The data type for a String parameter. Supported data types include
|
13689
|
+
# plain text and Amazon Machine Image IDs.
|
13690
|
+
#
|
13691
|
+
# **The following data type values are supported.**
|
13692
|
+
#
|
13693
|
+
# * `text`
|
13694
|
+
#
|
13695
|
+
# * `aws:ec2:image`
|
13696
|
+
#
|
13697
|
+
# When you create a String parameter and specify `aws:ec2:image`,
|
13698
|
+
# Systems Manager validates the parameter value you provide against
|
13699
|
+
# that data type. The required format is `ami-12345abcdeEXAMPLE`. For
|
13700
|
+
# more information, see [Native parameter support for Amazon Machine
|
13701
|
+
# Image IDs][1] in the *AWS Systems Manager User Guide*.
|
13702
|
+
#
|
13703
|
+
#
|
13704
|
+
#
|
13705
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html
|
13706
|
+
# @return [String]
|
13707
|
+
#
|
13668
13708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest AWS API Documentation
|
13669
13709
|
#
|
13670
13710
|
class PutParameterRequest < Struct.new(
|
@@ -13677,7 +13717,8 @@ module Aws::SSM
|
|
13677
13717
|
:allowed_pattern,
|
13678
13718
|
:tags,
|
13679
13719
|
:tier,
|
13680
|
-
:policies
|
13720
|
+
:policies,
|
13721
|
+
:data_type)
|
13681
13722
|
include Aws::Structure
|
13682
13723
|
end
|
13683
13724
|
|
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.
|
4
|
+
version: 1.76.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: 2020-05-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|