aws-sdk-ssm 1.0.0.rc7 → 1.0.0.rc8
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 +180 -18
- data/lib/aws-sdk-ssm/client_api.rb +119 -1
- data/lib/aws-sdk-ssm/types.rb +273 -35
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b43d58c3a0d13156d2d3a8f599d7e0c06bc238e9
|
4
|
+
data.tar.gz: ec3eddee6204a79e9db8b774e23a4202249f05c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb536750331d48046d29eadeccfc8f1cc410249a89b0193ad9b7385785cff9a078aeb4e3c67ccd258aa63c20eb88026753ba68e0e08db9346f84a3161f3e567
|
7
|
+
data.tar.gz: 51e5618a3e2a479eee395a06feeacf39069bf7f2a606415049719ef98779b2ac0d0e31d37a31964a00afb7989ffcc06f217d32c5d14ff85eba76885558a6d59e
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -845,6 +845,38 @@ module Aws::SSM
|
|
845
845
|
req.send_request(options)
|
846
846
|
end
|
847
847
|
|
848
|
+
# Delete a list of parameters.
|
849
|
+
#
|
850
|
+
# @option params [required, Array<String>] :names
|
851
|
+
# The names of the parameters to delete.
|
852
|
+
#
|
853
|
+
# @return [Types::DeleteParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
854
|
+
#
|
855
|
+
# * {Types::DeleteParametersResult#deleted_parameters #deleted_parameters} => Array<String>
|
856
|
+
# * {Types::DeleteParametersResult#invalid_parameters #invalid_parameters} => Array<String>
|
857
|
+
#
|
858
|
+
# @example Request syntax with placeholder values
|
859
|
+
#
|
860
|
+
# resp = client.delete_parameters({
|
861
|
+
# names: ["PSParameterName"], # required
|
862
|
+
# })
|
863
|
+
#
|
864
|
+
# @example Response structure
|
865
|
+
#
|
866
|
+
# resp.deleted_parameters #=> Array
|
867
|
+
# resp.deleted_parameters[0] #=> String
|
868
|
+
# resp.invalid_parameters #=> Array
|
869
|
+
# resp.invalid_parameters[0] #=> String
|
870
|
+
#
|
871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters AWS API Documentation
|
872
|
+
#
|
873
|
+
# @overload delete_parameters(params = {})
|
874
|
+
# @param [Hash] params ({})
|
875
|
+
def delete_parameters(params = {}, options = {})
|
876
|
+
req = build_request(:delete_parameters, params)
|
877
|
+
req.send_request(options)
|
878
|
+
end
|
879
|
+
|
848
880
|
# Deletes a patch baseline.
|
849
881
|
#
|
850
882
|
# @option params [required, String] :baseline_id
|
@@ -2130,6 +2162,9 @@ module Aws::SSM
|
|
2130
2162
|
# One or more filters. Use a filter to return a more specific list of
|
2131
2163
|
# results.
|
2132
2164
|
#
|
2165
|
+
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
2166
|
+
# Filters to limit the request results.
|
2167
|
+
#
|
2133
2168
|
# @option params [Integer] :max_results
|
2134
2169
|
# The maximum number of items to return for this call. The call also
|
2135
2170
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -2149,10 +2184,17 @@ module Aws::SSM
|
|
2149
2184
|
# resp = client.describe_parameters({
|
2150
2185
|
# filters: [
|
2151
2186
|
# {
|
2152
|
-
# key: "Name", # accepts Name, Type, KeyId
|
2187
|
+
# key: "Name", # required, accepts Name, Type, KeyId
|
2153
2188
|
# values: ["ParametersFilterValue"], # required
|
2154
2189
|
# },
|
2155
2190
|
# ],
|
2191
|
+
# parameter_filters: [
|
2192
|
+
# {
|
2193
|
+
# key: "ParameterStringFilterKey", # required
|
2194
|
+
# option: "ParameterStringQueryOption",
|
2195
|
+
# values: ["ParameterStringFilterValue"],
|
2196
|
+
# },
|
2197
|
+
# ],
|
2156
2198
|
# max_results: 1,
|
2157
2199
|
# next_token: "NextToken",
|
2158
2200
|
# })
|
@@ -2166,6 +2208,7 @@ module Aws::SSM
|
|
2166
2208
|
# resp.parameters[0].last_modified_date #=> Time
|
2167
2209
|
# resp.parameters[0].last_modified_user #=> String
|
2168
2210
|
# resp.parameters[0].description #=> String
|
2211
|
+
# resp.parameters[0].allowed_pattern #=> String
|
2169
2212
|
# resp.next_token #=> String
|
2170
2213
|
#
|
2171
2214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters AWS API Documentation
|
@@ -2792,6 +2835,41 @@ module Aws::SSM
|
|
2792
2835
|
req.send_request(options)
|
2793
2836
|
end
|
2794
2837
|
|
2838
|
+
# Get information about a parameter by using the parameter name.
|
2839
|
+
#
|
2840
|
+
# @option params [required, String] :name
|
2841
|
+
# The name of the parameter you want to query.
|
2842
|
+
#
|
2843
|
+
# @option params [Boolean] :with_decryption
|
2844
|
+
# Return decrypted values for secure string parameters. This flag is
|
2845
|
+
# ignored for String and StringList parameter types.
|
2846
|
+
#
|
2847
|
+
# @return [Types::GetParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2848
|
+
#
|
2849
|
+
# * {Types::GetParameterResult#parameter #parameter} => Types::Parameter
|
2850
|
+
#
|
2851
|
+
# @example Request syntax with placeholder values
|
2852
|
+
#
|
2853
|
+
# resp = client.get_parameter({
|
2854
|
+
# name: "PSParameterName", # required
|
2855
|
+
# with_decryption: false,
|
2856
|
+
# })
|
2857
|
+
#
|
2858
|
+
# @example Response structure
|
2859
|
+
#
|
2860
|
+
# resp.parameter.name #=> String
|
2861
|
+
# resp.parameter.type #=> String, one of "String", "StringList", "SecureString"
|
2862
|
+
# resp.parameter.value #=> String
|
2863
|
+
#
|
2864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter AWS API Documentation
|
2865
|
+
#
|
2866
|
+
# @overload get_parameter(params = {})
|
2867
|
+
# @param [Hash] params ({})
|
2868
|
+
def get_parameter(params = {}, options = {})
|
2869
|
+
req = build_request(:get_parameter, params)
|
2870
|
+
req.send_request(options)
|
2871
|
+
end
|
2872
|
+
|
2795
2873
|
# Query a list of all parameters used by the AWS account.
|
2796
2874
|
#
|
2797
2875
|
# @option params [required, String] :name
|
@@ -2834,6 +2912,7 @@ module Aws::SSM
|
|
2834
2912
|
# resp.parameters[0].last_modified_user #=> String
|
2835
2913
|
# resp.parameters[0].description #=> String
|
2836
2914
|
# resp.parameters[0].value #=> String
|
2915
|
+
# resp.parameters[0].allowed_pattern #=> String
|
2837
2916
|
# resp.next_token #=> String
|
2838
2917
|
#
|
2839
2918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory AWS API Documentation
|
@@ -2885,6 +2964,77 @@ module Aws::SSM
|
|
2885
2964
|
req.send_request(options)
|
2886
2965
|
end
|
2887
2966
|
|
2967
|
+
# Retrieve parameters in a specific hierarchy. For more information, see
|
2968
|
+
# [Using Parameter Hierarchies][1].
|
2969
|
+
#
|
2970
|
+
#
|
2971
|
+
#
|
2972
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-working-path.html
|
2973
|
+
#
|
2974
|
+
# @option params [required, String] :path
|
2975
|
+
# The hierarchy for the parameter. Hierarchies start with a forward
|
2976
|
+
# slash (/) and end with the parameter name. A hierarchy can have a
|
2977
|
+
# maximum of five levels. Examples: /Environment/Test/DBString003
|
2978
|
+
#
|
2979
|
+
# /Finance/Prod/IAD/OS/WinServ2016/license15
|
2980
|
+
#
|
2981
|
+
# @option params [Boolean] :recursive
|
2982
|
+
# Retrieve all parameters within a hierarchy.
|
2983
|
+
#
|
2984
|
+
# @option params [Array<Types::ParameterStringFilter>] :parameter_filters
|
2985
|
+
# Filters to limit the request results.
|
2986
|
+
#
|
2987
|
+
# @option params [Boolean] :with_decryption
|
2988
|
+
# Retrieve all parameters in a hierarchy with their value decrypted.
|
2989
|
+
#
|
2990
|
+
# @option params [Integer] :max_results
|
2991
|
+
# The maximum number of items to return for this call. The call also
|
2992
|
+
# returns a token that you can specify in a subsequent call to get the
|
2993
|
+
# next set of results.
|
2994
|
+
#
|
2995
|
+
# @option params [String] :next_token
|
2996
|
+
# A token to start the list. Use this token to get the next set of
|
2997
|
+
# results.
|
2998
|
+
#
|
2999
|
+
# @return [Types::GetParametersByPathResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3000
|
+
#
|
3001
|
+
# * {Types::GetParametersByPathResult#parameters #parameters} => Array<Types::Parameter>
|
3002
|
+
# * {Types::GetParametersByPathResult#next_token #next_token} => String
|
3003
|
+
#
|
3004
|
+
# @example Request syntax with placeholder values
|
3005
|
+
#
|
3006
|
+
# resp = client.get_parameters_by_path({
|
3007
|
+
# path: "PSParameterName", # required
|
3008
|
+
# recursive: false,
|
3009
|
+
# parameter_filters: [
|
3010
|
+
# {
|
3011
|
+
# key: "ParameterStringFilterKey", # required
|
3012
|
+
# option: "ParameterStringQueryOption",
|
3013
|
+
# values: ["ParameterStringFilterValue"],
|
3014
|
+
# },
|
3015
|
+
# ],
|
3016
|
+
# with_decryption: false,
|
3017
|
+
# max_results: 1,
|
3018
|
+
# next_token: "NextToken",
|
3019
|
+
# })
|
3020
|
+
#
|
3021
|
+
# @example Response structure
|
3022
|
+
#
|
3023
|
+
# resp.parameters #=> Array
|
3024
|
+
# resp.parameters[0].name #=> String
|
3025
|
+
# resp.parameters[0].type #=> String, one of "String", "StringList", "SecureString"
|
3026
|
+
# resp.parameters[0].value #=> String
|
3027
|
+
# resp.next_token #=> String
|
3028
|
+
#
|
3029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath AWS API Documentation
|
3030
|
+
#
|
3031
|
+
# @overload get_parameters_by_path(params = {})
|
3032
|
+
# @param [Hash] params ({})
|
3033
|
+
def get_parameters_by_path(params = {}, options = {})
|
3034
|
+
req = build_request(:get_parameters_by_path, params)
|
3035
|
+
req.send_request(options)
|
3036
|
+
end
|
3037
|
+
|
2888
3038
|
# Retrieves information about a patch baseline.
|
2889
3039
|
#
|
2890
3040
|
# @option params [required, String] :baseline_id
|
@@ -3496,7 +3646,7 @@ module Aws::SSM
|
|
3496
3646
|
req.send_request(options)
|
3497
3647
|
end
|
3498
3648
|
|
3499
|
-
# Add one or more
|
3649
|
+
# Add one or more parameters to the system.
|
3500
3650
|
#
|
3501
3651
|
# @option params [required, String] :name
|
3502
3652
|
# The name of the parameter that you want to add to the system.
|
@@ -3511,12 +3661,19 @@ module Aws::SSM
|
|
3511
3661
|
# The type of parameter that you want to add to the system.
|
3512
3662
|
#
|
3513
3663
|
# @option params [String] :key_id
|
3514
|
-
# The
|
3664
|
+
# The KMS Key ID that you want to use to encrypt a parameter when you
|
3665
|
+
# choose the SecureString data type. If you don't specify a key ID, the
|
3666
|
+
# system uses the default key associated with your AWS account.
|
3515
3667
|
#
|
3516
3668
|
# @option params [Boolean] :overwrite
|
3517
3669
|
# Overwrite an existing parameter. If not specified, will default to
|
3518
3670
|
# "false".
|
3519
3671
|
#
|
3672
|
+
# @option params [String] :allowed_pattern
|
3673
|
+
# A regular expression used to validate the parameter value. For
|
3674
|
+
# example, for String types with values restricted to numbers, you can
|
3675
|
+
# specify the following: AllowedPattern=^\\d+$
|
3676
|
+
#
|
3520
3677
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3521
3678
|
#
|
3522
3679
|
# @example Request syntax with placeholder values
|
@@ -3528,6 +3685,7 @@ module Aws::SSM
|
|
3528
3685
|
# type: "String", # required, accepts String, StringList, SecureString
|
3529
3686
|
# key_id: "ParameterKeyId",
|
3530
3687
|
# overwrite: false,
|
3688
|
+
# allowed_pattern: "AllowedPattern",
|
3531
3689
|
# })
|
3532
3690
|
#
|
3533
3691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter AWS API Documentation
|
@@ -3780,24 +3938,29 @@ module Aws::SSM
|
|
3780
3938
|
req.send_request(options)
|
3781
3939
|
end
|
3782
3940
|
|
3783
|
-
# Executes commands on one or more
|
3941
|
+
# Executes commands on one or more managed instances.
|
3784
3942
|
#
|
3785
3943
|
# @option params [Array<String>] :instance_ids
|
3786
3944
|
# The instance IDs where the command should execute. You can specify a
|
3787
3945
|
# maximum of 50 IDs. If you prefer not to list individual instance IDs,
|
3788
3946
|
# you can instead send commands to a fleet of instances using the
|
3789
|
-
# Targets parameter, which accepts EC2 tags.
|
3947
|
+
# Targets parameter, which accepts EC2 tags. For more information about
|
3948
|
+
# how to use Targets, see [Sending Commands to a Fleet][1].
|
3949
|
+
#
|
3950
|
+
#
|
3951
|
+
#
|
3952
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
3790
3953
|
#
|
3791
3954
|
# @option params [Array<Types::Target>] :targets
|
3792
3955
|
# (Optional) An array of search criteria that targets instances using a
|
3793
3956
|
# Key,Value combination that you specify. Targets is required if you
|
3794
3957
|
# don't provide one or more instance IDs in the call. For more
|
3795
|
-
# information about how to use Targets, see [
|
3796
|
-
#
|
3958
|
+
# information about how to use Targets, see [Sending Commands to a
|
3959
|
+
# Fleet][1].
|
3797
3960
|
#
|
3798
3961
|
#
|
3799
3962
|
#
|
3800
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
3963
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
3801
3964
|
#
|
3802
3965
|
# @option params [required, String] :document_name
|
3803
3966
|
# Required. The name of the Systems Manager document to execute. This
|
@@ -3831,9 +3994,9 @@ module Aws::SSM
|
|
3831
3994
|
# executed.
|
3832
3995
|
#
|
3833
3996
|
# @option params [String] :output_s3_region
|
3834
|
-
# (
|
3835
|
-
#
|
3836
|
-
#
|
3997
|
+
# (Deprecated) You can no longer specify this parameter. The system
|
3998
|
+
# ignores it. Instead, Systems Manager automatically determines the
|
3999
|
+
# Amazon S3 bucket region.
|
3837
4000
|
#
|
3838
4001
|
# @option params [String] :output_s3_bucket_name
|
3839
4002
|
# The name of the S3 bucket where command execution responses should be
|
@@ -3847,24 +4010,23 @@ module Aws::SSM
|
|
3847
4010
|
# (Optional) The maximum number of instances that are allowed to execute
|
3848
4011
|
# the command at the same time. You can specify a number such as 10 or a
|
3849
4012
|
# percentage such as 10%. The default value is 50. For more information
|
3850
|
-
# about how to use MaxConcurrency, see [
|
3851
|
-
# Systems Manager Run Command][1].
|
4013
|
+
# about how to use MaxConcurrency, see [Using Concurrency Controls][1].
|
3852
4014
|
#
|
3853
4015
|
#
|
3854
4016
|
#
|
3855
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
4017
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-velocity.html
|
3856
4018
|
#
|
3857
4019
|
# @option params [String] :max_errors
|
3858
4020
|
# The maximum number of errors allowed without the command failing. When
|
3859
4021
|
# the command fails one more time beyond the value of MaxErrors, the
|
3860
4022
|
# systems stops sending the command to additional targets. You can
|
3861
4023
|
# specify a number like 10 or a percentage like 10%. The default value
|
3862
|
-
# is 50. For more information about how to use MaxErrors, see [
|
3863
|
-
#
|
4024
|
+
# is 50. For more information about how to use MaxErrors, see [Using
|
4025
|
+
# Error Controls][1].
|
3864
4026
|
#
|
3865
4027
|
#
|
3866
4028
|
#
|
3867
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
4029
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-maxerrors.html
|
3868
4030
|
#
|
3869
4031
|
# @option params [String] :service_role_arn
|
3870
4032
|
# The IAM role that Systems Manager uses to send notifications.
|
@@ -4471,7 +4633,7 @@ module Aws::SSM
|
|
4471
4633
|
params: params,
|
4472
4634
|
config: config)
|
4473
4635
|
context[:gem_name] = 'aws-sdk-ssm'
|
4474
|
-
context[:gem_version] = '1.0.0.
|
4636
|
+
context[:gem_version] = '1.0.0.rc8'
|
4475
4637
|
Seahorse::Client::Request.new(handlers, context)
|
4476
4638
|
end
|
4477
4639
|
|
@@ -21,6 +21,7 @@ module Aws::SSM
|
|
21
21
|
AddTagsToResourceRequest = Shapes::StructureShape.new(name: 'AddTagsToResourceRequest')
|
22
22
|
AddTagsToResourceResult = Shapes::StructureShape.new(name: 'AddTagsToResourceResult')
|
23
23
|
AgentErrorCode = Shapes::StringShape.new(name: 'AgentErrorCode')
|
24
|
+
AllowedPattern = Shapes::StringShape.new(name: 'AllowedPattern')
|
24
25
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
25
26
|
ApproveAfterDays = Shapes::IntegerShape.new(name: 'ApproveAfterDays')
|
26
27
|
AssociatedInstances = Shapes::StructureShape.new(name: 'AssociatedInstances')
|
@@ -118,6 +119,8 @@ module Aws::SSM
|
|
118
119
|
DeleteMaintenanceWindowResult = Shapes::StructureShape.new(name: 'DeleteMaintenanceWindowResult')
|
119
120
|
DeleteParameterRequest = Shapes::StructureShape.new(name: 'DeleteParameterRequest')
|
120
121
|
DeleteParameterResult = Shapes::StructureShape.new(name: 'DeleteParameterResult')
|
122
|
+
DeleteParametersRequest = Shapes::StructureShape.new(name: 'DeleteParametersRequest')
|
123
|
+
DeleteParametersResult = Shapes::StructureShape.new(name: 'DeleteParametersResult')
|
121
124
|
DeletePatchBaselineRequest = Shapes::StructureShape.new(name: 'DeletePatchBaselineRequest')
|
122
125
|
DeletePatchBaselineResult = Shapes::StructureShape.new(name: 'DeletePatchBaselineResult')
|
123
126
|
DeregisterManagedInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterManagedInstanceRequest')
|
@@ -246,12 +249,19 @@ module Aws::SSM
|
|
246
249
|
GetMaintenanceWindowResult = Shapes::StructureShape.new(name: 'GetMaintenanceWindowResult')
|
247
250
|
GetParameterHistoryRequest = Shapes::StructureShape.new(name: 'GetParameterHistoryRequest')
|
248
251
|
GetParameterHistoryResult = Shapes::StructureShape.new(name: 'GetParameterHistoryResult')
|
252
|
+
GetParameterRequest = Shapes::StructureShape.new(name: 'GetParameterRequest')
|
253
|
+
GetParameterResult = Shapes::StructureShape.new(name: 'GetParameterResult')
|
254
|
+
GetParametersByPathMaxResults = Shapes::IntegerShape.new(name: 'GetParametersByPathMaxResults')
|
255
|
+
GetParametersByPathRequest = Shapes::StructureShape.new(name: 'GetParametersByPathRequest')
|
256
|
+
GetParametersByPathResult = Shapes::StructureShape.new(name: 'GetParametersByPathResult')
|
249
257
|
GetParametersRequest = Shapes::StructureShape.new(name: 'GetParametersRequest')
|
250
258
|
GetParametersResult = Shapes::StructureShape.new(name: 'GetParametersResult')
|
251
259
|
GetPatchBaselineForPatchGroupRequest = Shapes::StructureShape.new(name: 'GetPatchBaselineForPatchGroupRequest')
|
252
260
|
GetPatchBaselineForPatchGroupResult = Shapes::StructureShape.new(name: 'GetPatchBaselineForPatchGroupResult')
|
253
261
|
GetPatchBaselineRequest = Shapes::StructureShape.new(name: 'GetPatchBaselineRequest')
|
254
262
|
GetPatchBaselineResult = Shapes::StructureShape.new(name: 'GetPatchBaselineResult')
|
263
|
+
HierarchyLevelLimitExceededException = Shapes::StructureShape.new(name: 'HierarchyLevelLimitExceededException')
|
264
|
+
HierarchyTypeMismatchException = Shapes::StructureShape.new(name: 'HierarchyTypeMismatchException')
|
255
265
|
IPAddress = Shapes::StringShape.new(name: 'IPAddress')
|
256
266
|
IamRole = Shapes::StringShape.new(name: 'IamRole')
|
257
267
|
IdempotentParameterMismatch = Shapes::StructureShape.new(name: 'IdempotentParameterMismatch')
|
@@ -291,6 +301,7 @@ module Aws::SSM
|
|
291
301
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
292
302
|
InvalidActivation = Shapes::StructureShape.new(name: 'InvalidActivation')
|
293
303
|
InvalidActivationId = Shapes::StructureShape.new(name: 'InvalidActivationId')
|
304
|
+
InvalidAllowedPatternException = Shapes::StructureShape.new(name: 'InvalidAllowedPatternException')
|
294
305
|
InvalidAutomationExecutionParametersException = Shapes::StructureShape.new(name: 'InvalidAutomationExecutionParametersException')
|
295
306
|
InvalidCommandId = Shapes::StructureShape.new(name: 'InvalidCommandId')
|
296
307
|
InvalidDocument = Shapes::StructureShape.new(name: 'InvalidDocument')
|
@@ -300,6 +311,7 @@ module Aws::SSM
|
|
300
311
|
InvalidDocumentVersion = Shapes::StructureShape.new(name: 'InvalidDocumentVersion')
|
301
312
|
InvalidFilter = Shapes::StructureShape.new(name: 'InvalidFilter')
|
302
313
|
InvalidFilterKey = Shapes::StructureShape.new(name: 'InvalidFilterKey')
|
314
|
+
InvalidFilterOption = Shapes::StructureShape.new(name: 'InvalidFilterOption')
|
303
315
|
InvalidFilterValue = Shapes::StructureShape.new(name: 'InvalidFilterValue')
|
304
316
|
InvalidInstanceId = Shapes::StructureShape.new(name: 'InvalidInstanceId')
|
305
317
|
InvalidInstanceInformationFilterValue = Shapes::StructureShape.new(name: 'InvalidInstanceInformationFilterValue')
|
@@ -444,6 +456,13 @@ module Aws::SSM
|
|
444
456
|
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
445
457
|
ParameterNameList = Shapes::ListShape.new(name: 'ParameterNameList')
|
446
458
|
ParameterNotFound = Shapes::StructureShape.new(name: 'ParameterNotFound')
|
459
|
+
ParameterPatternMismatchException = Shapes::StructureShape.new(name: 'ParameterPatternMismatchException')
|
460
|
+
ParameterStringFilter = Shapes::StructureShape.new(name: 'ParameterStringFilter')
|
461
|
+
ParameterStringFilterKey = Shapes::StringShape.new(name: 'ParameterStringFilterKey')
|
462
|
+
ParameterStringFilterList = Shapes::ListShape.new(name: 'ParameterStringFilterList')
|
463
|
+
ParameterStringFilterValue = Shapes::StringShape.new(name: 'ParameterStringFilterValue')
|
464
|
+
ParameterStringFilterValueList = Shapes::ListShape.new(name: 'ParameterStringFilterValueList')
|
465
|
+
ParameterStringQueryOption = Shapes::StringShape.new(name: 'ParameterStringQueryOption')
|
447
466
|
ParameterType = Shapes::StringShape.new(name: 'ParameterType')
|
448
467
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
449
468
|
ParameterValueList = Shapes::ListShape.new(name: 'ParameterValueList')
|
@@ -873,6 +892,13 @@ module Aws::SSM
|
|
873
892
|
|
874
893
|
DeleteParameterResult.struct_class = Types::DeleteParameterResult
|
875
894
|
|
895
|
+
DeleteParametersRequest.add_member(:names, Shapes::ShapeRef.new(shape: ParameterNameList, required: true, location_name: "Names"))
|
896
|
+
DeleteParametersRequest.struct_class = Types::DeleteParametersRequest
|
897
|
+
|
898
|
+
DeleteParametersResult.add_member(:deleted_parameters, Shapes::ShapeRef.new(shape: ParameterNameList, location_name: "DeletedParameters"))
|
899
|
+
DeleteParametersResult.add_member(:invalid_parameters, Shapes::ShapeRef.new(shape: ParameterNameList, location_name: "InvalidParameters"))
|
900
|
+
DeleteParametersResult.struct_class = Types::DeleteParametersResult
|
901
|
+
|
876
902
|
DeletePatchBaselineRequest.add_member(:baseline_id, Shapes::ShapeRef.new(shape: BaselineId, required: true, location_name: "BaselineId"))
|
877
903
|
DeletePatchBaselineRequest.struct_class = Types::DeletePatchBaselineRequest
|
878
904
|
|
@@ -1090,6 +1116,7 @@ module Aws::SSM
|
|
1090
1116
|
DescribeMaintenanceWindowsResult.struct_class = Types::DescribeMaintenanceWindowsResult
|
1091
1117
|
|
1092
1118
|
DescribeParametersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ParametersFilterList, location_name: "Filters"))
|
1119
|
+
DescribeParametersRequest.add_member(:parameter_filters, Shapes::ShapeRef.new(shape: ParameterStringFilterList, location_name: "ParameterFilters"))
|
1093
1120
|
DescribeParametersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1094
1121
|
DescribeParametersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1095
1122
|
DescribeParametersRequest.struct_class = Types::DescribeParametersRequest
|
@@ -1322,6 +1349,25 @@ module Aws::SSM
|
|
1322
1349
|
GetParameterHistoryResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1323
1350
|
GetParameterHistoryResult.struct_class = Types::GetParameterHistoryResult
|
1324
1351
|
|
1352
|
+
GetParameterRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
|
1353
|
+
GetParameterRequest.add_member(:with_decryption, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithDecryption", metadata: {"box"=>true}))
|
1354
|
+
GetParameterRequest.struct_class = Types::GetParameterRequest
|
1355
|
+
|
1356
|
+
GetParameterResult.add_member(:parameter, Shapes::ShapeRef.new(shape: Parameter, location_name: "Parameter"))
|
1357
|
+
GetParameterResult.struct_class = Types::GetParameterResult
|
1358
|
+
|
1359
|
+
GetParametersByPathRequest.add_member(:path, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Path"))
|
1360
|
+
GetParametersByPathRequest.add_member(:recursive, Shapes::ShapeRef.new(shape: Boolean, location_name: "Recursive", metadata: {"box"=>true}))
|
1361
|
+
GetParametersByPathRequest.add_member(:parameter_filters, Shapes::ShapeRef.new(shape: ParameterStringFilterList, location_name: "ParameterFilters"))
|
1362
|
+
GetParametersByPathRequest.add_member(:with_decryption, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithDecryption", metadata: {"box"=>true}))
|
1363
|
+
GetParametersByPathRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetParametersByPathMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1364
|
+
GetParametersByPathRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1365
|
+
GetParametersByPathRequest.struct_class = Types::GetParametersByPathRequest
|
1366
|
+
|
1367
|
+
GetParametersByPathResult.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterList, location_name: "Parameters"))
|
1368
|
+
GetParametersByPathResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1369
|
+
GetParametersByPathResult.struct_class = Types::GetParametersByPathResult
|
1370
|
+
|
1325
1371
|
GetParametersRequest.add_member(:names, Shapes::ShapeRef.new(shape: ParameterNameList, required: true, location_name: "Names"))
|
1326
1372
|
GetParametersRequest.add_member(:with_decryption, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithDecryption", metadata: {"box"=>true}))
|
1327
1373
|
GetParametersRequest.struct_class = Types::GetParametersRequest
|
@@ -1704,6 +1750,7 @@ module Aws::SSM
|
|
1704
1750
|
ParameterHistory.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: String, location_name: "LastModifiedUser"))
|
1705
1751
|
ParameterHistory.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
|
1706
1752
|
ParameterHistory.add_member(:value, Shapes::ShapeRef.new(shape: PSParameterValue, location_name: "Value"))
|
1753
|
+
ParameterHistory.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
1707
1754
|
ParameterHistory.struct_class = Types::ParameterHistory
|
1708
1755
|
|
1709
1756
|
ParameterHistoryList.member = Shapes::ShapeRef.new(shape: ParameterHistory)
|
@@ -1716,18 +1763,28 @@ module Aws::SSM
|
|
1716
1763
|
ParameterMetadata.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedDate"))
|
1717
1764
|
ParameterMetadata.add_member(:last_modified_user, Shapes::ShapeRef.new(shape: String, location_name: "LastModifiedUser"))
|
1718
1765
|
ParameterMetadata.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
|
1766
|
+
ParameterMetadata.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
1719
1767
|
ParameterMetadata.struct_class = Types::ParameterMetadata
|
1720
1768
|
|
1721
1769
|
ParameterMetadataList.member = Shapes::ShapeRef.new(shape: ParameterMetadata)
|
1722
1770
|
|
1723
1771
|
ParameterNameList.member = Shapes::ShapeRef.new(shape: PSParameterName)
|
1724
1772
|
|
1773
|
+
ParameterStringFilter.add_member(:key, Shapes::ShapeRef.new(shape: ParameterStringFilterKey, required: true, location_name: "Key"))
|
1774
|
+
ParameterStringFilter.add_member(:option, Shapes::ShapeRef.new(shape: ParameterStringQueryOption, location_name: "Option"))
|
1775
|
+
ParameterStringFilter.add_member(:values, Shapes::ShapeRef.new(shape: ParameterStringFilterValueList, location_name: "Values"))
|
1776
|
+
ParameterStringFilter.struct_class = Types::ParameterStringFilter
|
1777
|
+
|
1778
|
+
ParameterStringFilterList.member = Shapes::ShapeRef.new(shape: ParameterStringFilter)
|
1779
|
+
|
1780
|
+
ParameterStringFilterValueList.member = Shapes::ShapeRef.new(shape: ParameterStringFilterValue)
|
1781
|
+
|
1725
1782
|
ParameterValueList.member = Shapes::ShapeRef.new(shape: ParameterValue)
|
1726
1783
|
|
1727
1784
|
Parameters.key = Shapes::ShapeRef.new(shape: ParameterName)
|
1728
1785
|
Parameters.value = Shapes::ShapeRef.new(shape: ParameterValueList)
|
1729
1786
|
|
1730
|
-
ParametersFilter.add_member(:key, Shapes::ShapeRef.new(shape: ParametersFilterKey, location_name: "Key"))
|
1787
|
+
ParametersFilter.add_member(:key, Shapes::ShapeRef.new(shape: ParametersFilterKey, required: true, location_name: "Key"))
|
1731
1788
|
ParametersFilter.add_member(:values, Shapes::ShapeRef.new(shape: ParametersFilterValueList, required: true, location_name: "Values"))
|
1732
1789
|
ParametersFilter.struct_class = Types::ParametersFilter
|
1733
1790
|
|
@@ -1826,6 +1883,7 @@ module Aws::SSM
|
|
1826
1883
|
PutParameterRequest.add_member(:type, Shapes::ShapeRef.new(shape: ParameterType, required: true, location_name: "Type"))
|
1827
1884
|
PutParameterRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: ParameterKeyId, location_name: "KeyId"))
|
1828
1885
|
PutParameterRequest.add_member(:overwrite, Shapes::ShapeRef.new(shape: Boolean, location_name: "Overwrite", metadata: {"box"=>true}))
|
1886
|
+
PutParameterRequest.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
1829
1887
|
PutParameterRequest.struct_class = Types::PutParameterRequest
|
1830
1888
|
|
1831
1889
|
PutParameterResult.struct_class = Types::PutParameterResult
|
@@ -2210,6 +2268,15 @@ module Aws::SSM
|
|
2210
2268
|
o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
|
2211
2269
|
end)
|
2212
2270
|
|
2271
|
+
api.add_operation(:delete_parameters, Seahorse::Model::Operation.new.tap do |o|
|
2272
|
+
o.name = "DeleteParameters"
|
2273
|
+
o.http_method = "POST"
|
2274
|
+
o.http_request_uri = "/"
|
2275
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteParametersRequest)
|
2276
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteParametersResult)
|
2277
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2278
|
+
end)
|
2279
|
+
|
2213
2280
|
api.add_operation(:delete_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
|
2214
2281
|
o.name = "DeletePatchBaseline"
|
2215
2282
|
o.http_method = "POST"
|
@@ -2480,8 +2547,16 @@ module Aws::SSM
|
|
2480
2547
|
o.input = Shapes::ShapeRef.new(shape: DescribeParametersRequest)
|
2481
2548
|
o.output = Shapes::ShapeRef.new(shape: DescribeParametersResult)
|
2482
2549
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2550
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterKey)
|
2551
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterOption)
|
2483
2552
|
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterValue)
|
2484
2553
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
2554
|
+
o[:pager] = Aws::Pager.new(
|
2555
|
+
limit_key: "max_results",
|
2556
|
+
tokens: {
|
2557
|
+
"next_token" => "next_token"
|
2558
|
+
}
|
2559
|
+
)
|
2485
2560
|
end)
|
2486
2561
|
|
2487
2562
|
api.add_operation(:describe_patch_baselines, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2618,6 +2693,17 @@ module Aws::SSM
|
|
2618
2693
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2619
2694
|
end)
|
2620
2695
|
|
2696
|
+
api.add_operation(:get_parameter, Seahorse::Model::Operation.new.tap do |o|
|
2697
|
+
o.name = "GetParameter"
|
2698
|
+
o.http_method = "POST"
|
2699
|
+
o.http_request_uri = "/"
|
2700
|
+
o.input = Shapes::ShapeRef.new(shape: GetParameterRequest)
|
2701
|
+
o.output = Shapes::ShapeRef.new(shape: GetParameterResult)
|
2702
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2703
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyId)
|
2704
|
+
o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
|
2705
|
+
end)
|
2706
|
+
|
2621
2707
|
api.add_operation(:get_parameter_history, Seahorse::Model::Operation.new.tap do |o|
|
2622
2708
|
o.name = "GetParameterHistory"
|
2623
2709
|
o.http_method = "POST"
|
@@ -2627,6 +2713,13 @@ module Aws::SSM
|
|
2627
2713
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2628
2714
|
o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
|
2629
2715
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
2716
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyId)
|
2717
|
+
o[:pager] = Aws::Pager.new(
|
2718
|
+
limit_key: "max_results",
|
2719
|
+
tokens: {
|
2720
|
+
"next_token" => "next_token"
|
2721
|
+
}
|
2722
|
+
)
|
2630
2723
|
end)
|
2631
2724
|
|
2632
2725
|
api.add_operation(:get_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2635,9 +2728,30 @@ module Aws::SSM
|
|
2635
2728
|
o.http_request_uri = "/"
|
2636
2729
|
o.input = Shapes::ShapeRef.new(shape: GetParametersRequest)
|
2637
2730
|
o.output = Shapes::ShapeRef.new(shape: GetParametersResult)
|
2731
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyId)
|
2638
2732
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2639
2733
|
end)
|
2640
2734
|
|
2735
|
+
api.add_operation(:get_parameters_by_path, Seahorse::Model::Operation.new.tap do |o|
|
2736
|
+
o.name = "GetParametersByPath"
|
2737
|
+
o.http_method = "POST"
|
2738
|
+
o.http_request_uri = "/"
|
2739
|
+
o.input = Shapes::ShapeRef.new(shape: GetParametersByPathRequest)
|
2740
|
+
o.output = Shapes::ShapeRef.new(shape: GetParametersByPathResult)
|
2741
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2742
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterKey)
|
2743
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterOption)
|
2744
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidFilterValue)
|
2745
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKeyId)
|
2746
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
2747
|
+
o[:pager] = Aws::Pager.new(
|
2748
|
+
limit_key: "max_results",
|
2749
|
+
tokens: {
|
2750
|
+
"next_token" => "next_token"
|
2751
|
+
}
|
2752
|
+
)
|
2753
|
+
end)
|
2754
|
+
|
2641
2755
|
api.add_operation(:get_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
|
2642
2756
|
o.name = "GetPatchBaseline"
|
2643
2757
|
o.http_method = "POST"
|
@@ -2805,6 +2919,10 @@ module Aws::SSM
|
|
2805
2919
|
o.errors << Shapes::ShapeRef.new(shape: ParameterLimitExceeded)
|
2806
2920
|
o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
|
2807
2921
|
o.errors << Shapes::ShapeRef.new(shape: ParameterAlreadyExists)
|
2922
|
+
o.errors << Shapes::ShapeRef.new(shape: HierarchyLevelLimitExceededException)
|
2923
|
+
o.errors << Shapes::ShapeRef.new(shape: HierarchyTypeMismatchException)
|
2924
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAllowedPatternException)
|
2925
|
+
o.errors << Shapes::ShapeRef.new(shape: ParameterPatternMismatchException)
|
2808
2926
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedParameterType)
|
2809
2927
|
end)
|
2810
2928
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -602,9 +602,9 @@ module Aws::SSM
|
|
602
602
|
# @return [String]
|
603
603
|
#
|
604
604
|
# @!attribute [rw] output_s3_region
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
605
|
+
# (Deprecated) You can no longer specify this parameter. The system
|
606
|
+
# ignores it. Instead, Systems Manager automatically determines the
|
607
|
+
# Amazon S3 bucket region.
|
608
608
|
# @return [String]
|
609
609
|
#
|
610
610
|
# @!attribute [rw] output_s3_bucket_name
|
@@ -706,11 +706,11 @@ module Aws::SSM
|
|
706
706
|
# }
|
707
707
|
#
|
708
708
|
# @!attribute [rw] key
|
709
|
-
# The name of the filter.
|
709
|
+
# The name of the filter.
|
710
710
|
# @return [String]
|
711
711
|
#
|
712
712
|
# @!attribute [rw] value
|
713
|
-
# The filter value.
|
713
|
+
# The filter value.
|
714
714
|
# @return [String]
|
715
715
|
#
|
716
716
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandFilter AWS API Documentation
|
@@ -961,7 +961,9 @@ module Aws::SSM
|
|
961
961
|
# @return [String]
|
962
962
|
#
|
963
963
|
# @!attribute [rw] output_s3_region
|
964
|
-
#
|
964
|
+
# (Deprecated) You can no longer specify this parameter. The system
|
965
|
+
# ignores it. Instead, Systems Manager automatically determines the
|
966
|
+
# Amazon S3 bucket region.
|
965
967
|
# @return [String]
|
966
968
|
#
|
967
969
|
# @!attribute [rw] output_s3_bucket_name
|
@@ -1618,6 +1620,41 @@ module Aws::SSM
|
|
1618
1620
|
#
|
1619
1621
|
class DeleteParameterResult < Aws::EmptyStructure; end
|
1620
1622
|
|
1623
|
+
# @note When making an API call, you may pass DeleteParametersRequest
|
1624
|
+
# data as a hash:
|
1625
|
+
#
|
1626
|
+
# {
|
1627
|
+
# names: ["PSParameterName"], # required
|
1628
|
+
# }
|
1629
|
+
#
|
1630
|
+
# @!attribute [rw] names
|
1631
|
+
# The names of the parameters to delete.
|
1632
|
+
# @return [Array<String>]
|
1633
|
+
#
|
1634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersRequest AWS API Documentation
|
1635
|
+
#
|
1636
|
+
class DeleteParametersRequest < Struct.new(
|
1637
|
+
:names)
|
1638
|
+
include Aws::Structure
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
# @!attribute [rw] deleted_parameters
|
1642
|
+
# The names of the deleted parameters.
|
1643
|
+
# @return [Array<String>]
|
1644
|
+
#
|
1645
|
+
# @!attribute [rw] invalid_parameters
|
1646
|
+
# The names of parameters that weren't deleted because the parameters
|
1647
|
+
# are not valid.
|
1648
|
+
# @return [Array<String>]
|
1649
|
+
#
|
1650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersResult AWS API Documentation
|
1651
|
+
#
|
1652
|
+
class DeleteParametersResult < Struct.new(
|
1653
|
+
:deleted_parameters,
|
1654
|
+
:invalid_parameters)
|
1655
|
+
include Aws::Structure
|
1656
|
+
end
|
1657
|
+
|
1621
1658
|
# @note When making an API call, you may pass DeletePatchBaselineRequest
|
1622
1659
|
# data as a hash:
|
1623
1660
|
#
|
@@ -2900,10 +2937,17 @@ module Aws::SSM
|
|
2900
2937
|
# {
|
2901
2938
|
# filters: [
|
2902
2939
|
# {
|
2903
|
-
# key: "Name", # accepts Name, Type, KeyId
|
2940
|
+
# key: "Name", # required, accepts Name, Type, KeyId
|
2904
2941
|
# values: ["ParametersFilterValue"], # required
|
2905
2942
|
# },
|
2906
2943
|
# ],
|
2944
|
+
# parameter_filters: [
|
2945
|
+
# {
|
2946
|
+
# key: "ParameterStringFilterKey", # required
|
2947
|
+
# option: "ParameterStringQueryOption",
|
2948
|
+
# values: ["ParameterStringFilterValue"],
|
2949
|
+
# },
|
2950
|
+
# ],
|
2907
2951
|
# max_results: 1,
|
2908
2952
|
# next_token: "NextToken",
|
2909
2953
|
# }
|
@@ -2913,6 +2957,10 @@ module Aws::SSM
|
|
2913
2957
|
# results.
|
2914
2958
|
# @return [Array<Types::ParametersFilter>]
|
2915
2959
|
#
|
2960
|
+
# @!attribute [rw] parameter_filters
|
2961
|
+
# Filters to limit the request results.
|
2962
|
+
# @return [Array<Types::ParameterStringFilter>]
|
2963
|
+
#
|
2916
2964
|
# @!attribute [rw] max_results
|
2917
2965
|
# The maximum number of items to return for this call. The call also
|
2918
2966
|
# returns a token that you can specify in a subsequent call to get the
|
@@ -2928,6 +2976,7 @@ module Aws::SSM
|
|
2928
2976
|
#
|
2929
2977
|
class DescribeParametersRequest < Struct.new(
|
2930
2978
|
:filters,
|
2979
|
+
:parameter_filters,
|
2931
2980
|
:max_results,
|
2932
2981
|
:next_token)
|
2933
2982
|
include Aws::Structure
|
@@ -3522,9 +3571,14 @@ module Aws::SSM
|
|
3522
3571
|
#
|
3523
3572
|
# @!attribute [rw] execution_start_date_time
|
3524
3573
|
# The date and time the plugin started executing. Date and time are
|
3525
|
-
# written in ISO 8601 format. For example,
|
3526
|
-
#
|
3527
|
-
#
|
3574
|
+
# written in ISO 8601 format. For example, June 7, 2017 is represented
|
3575
|
+
# as 2017-06-7. The following sample AWS CLI command uses the
|
3576
|
+
# `InvokedBefore` filter.
|
3577
|
+
#
|
3578
|
+
# `aws ssm list-commands --filters
|
3579
|
+
# key=InvokedBefore,value=2017-06-07T00:00:00Z`
|
3580
|
+
#
|
3581
|
+
# If the plugin has not started to execute, the string is empty.
|
3528
3582
|
# @return [String]
|
3529
3583
|
#
|
3530
3584
|
# @!attribute [rw] execution_elapsed_time
|
@@ -3533,9 +3587,14 @@ module Aws::SSM
|
|
3533
3587
|
#
|
3534
3588
|
# @!attribute [rw] execution_end_date_time
|
3535
3589
|
# The date and time the plugin was finished executing. Date and time
|
3536
|
-
# are written in ISO 8601 format. For example,
|
3537
|
-
# represented as
|
3538
|
-
# the
|
3590
|
+
# are written in ISO 8601 format. For example, June 7, 2017 is
|
3591
|
+
# represented as 2017-06-7. The following sample AWS CLI command uses
|
3592
|
+
# the `InvokedAfter` filter.
|
3593
|
+
#
|
3594
|
+
# `aws ssm list-commands --filters
|
3595
|
+
# key=InvokedAfter,value=2017-06-07T00:00:00Z`
|
3596
|
+
#
|
3597
|
+
# If the plugin has not started to execute, the string is empty.
|
3539
3598
|
# @return [String]
|
3540
3599
|
#
|
3541
3600
|
# @!attribute [rw] status
|
@@ -4166,6 +4225,120 @@ module Aws::SSM
|
|
4166
4225
|
include Aws::Structure
|
4167
4226
|
end
|
4168
4227
|
|
4228
|
+
# @note When making an API call, you may pass GetParameterRequest
|
4229
|
+
# data as a hash:
|
4230
|
+
#
|
4231
|
+
# {
|
4232
|
+
# name: "PSParameterName", # required
|
4233
|
+
# with_decryption: false,
|
4234
|
+
# }
|
4235
|
+
#
|
4236
|
+
# @!attribute [rw] name
|
4237
|
+
# The name of the parameter you want to query.
|
4238
|
+
# @return [String]
|
4239
|
+
#
|
4240
|
+
# @!attribute [rw] with_decryption
|
4241
|
+
# Return decrypted values for secure string parameters. This flag is
|
4242
|
+
# ignored for String and StringList parameter types.
|
4243
|
+
# @return [Boolean]
|
4244
|
+
#
|
4245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterRequest AWS API Documentation
|
4246
|
+
#
|
4247
|
+
class GetParameterRequest < Struct.new(
|
4248
|
+
:name,
|
4249
|
+
:with_decryption)
|
4250
|
+
include Aws::Structure
|
4251
|
+
end
|
4252
|
+
|
4253
|
+
# @!attribute [rw] parameter
|
4254
|
+
# Information about a parameter.
|
4255
|
+
# @return [Types::Parameter]
|
4256
|
+
#
|
4257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterResult AWS API Documentation
|
4258
|
+
#
|
4259
|
+
class GetParameterResult < Struct.new(
|
4260
|
+
:parameter)
|
4261
|
+
include Aws::Structure
|
4262
|
+
end
|
4263
|
+
|
4264
|
+
# @note When making an API call, you may pass GetParametersByPathRequest
|
4265
|
+
# data as a hash:
|
4266
|
+
#
|
4267
|
+
# {
|
4268
|
+
# path: "PSParameterName", # required
|
4269
|
+
# recursive: false,
|
4270
|
+
# parameter_filters: [
|
4271
|
+
# {
|
4272
|
+
# key: "ParameterStringFilterKey", # required
|
4273
|
+
# option: "ParameterStringQueryOption",
|
4274
|
+
# values: ["ParameterStringFilterValue"],
|
4275
|
+
# },
|
4276
|
+
# ],
|
4277
|
+
# with_decryption: false,
|
4278
|
+
# max_results: 1,
|
4279
|
+
# next_token: "NextToken",
|
4280
|
+
# }
|
4281
|
+
#
|
4282
|
+
# @!attribute [rw] path
|
4283
|
+
# The hierarchy for the parameter. Hierarchies start with a forward
|
4284
|
+
# slash (/) and end with the parameter name. A hierarchy can have a
|
4285
|
+
# maximum of five levels. Examples: /Environment/Test/DBString003
|
4286
|
+
#
|
4287
|
+
# /Finance/Prod/IAD/OS/WinServ2016/license15
|
4288
|
+
# @return [String]
|
4289
|
+
#
|
4290
|
+
# @!attribute [rw] recursive
|
4291
|
+
# Retrieve all parameters within a hierarchy.
|
4292
|
+
# @return [Boolean]
|
4293
|
+
#
|
4294
|
+
# @!attribute [rw] parameter_filters
|
4295
|
+
# Filters to limit the request results.
|
4296
|
+
# @return [Array<Types::ParameterStringFilter>]
|
4297
|
+
#
|
4298
|
+
# @!attribute [rw] with_decryption
|
4299
|
+
# Retrieve all parameters in a hierarchy with their value decrypted.
|
4300
|
+
# @return [Boolean]
|
4301
|
+
#
|
4302
|
+
# @!attribute [rw] max_results
|
4303
|
+
# The maximum number of items to return for this call. The call also
|
4304
|
+
# returns a token that you can specify in a subsequent call to get the
|
4305
|
+
# next set of results.
|
4306
|
+
# @return [Integer]
|
4307
|
+
#
|
4308
|
+
# @!attribute [rw] next_token
|
4309
|
+
# A token to start the list. Use this token to get the next set of
|
4310
|
+
# results.
|
4311
|
+
# @return [String]
|
4312
|
+
#
|
4313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathRequest AWS API Documentation
|
4314
|
+
#
|
4315
|
+
class GetParametersByPathRequest < Struct.new(
|
4316
|
+
:path,
|
4317
|
+
:recursive,
|
4318
|
+
:parameter_filters,
|
4319
|
+
:with_decryption,
|
4320
|
+
:max_results,
|
4321
|
+
:next_token)
|
4322
|
+
include Aws::Structure
|
4323
|
+
end
|
4324
|
+
|
4325
|
+
# @!attribute [rw] parameters
|
4326
|
+
# A list of parameters found in the specified hierarchy.
|
4327
|
+
# @return [Array<Types::Parameter>]
|
4328
|
+
#
|
4329
|
+
# @!attribute [rw] next_token
|
4330
|
+
# The token for the next set of items to return. Use this token to get
|
4331
|
+
# the next set of results.
|
4332
|
+
# @return [String]
|
4333
|
+
#
|
4334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathResult AWS API Documentation
|
4335
|
+
#
|
4336
|
+
class GetParametersByPathResult < Struct.new(
|
4337
|
+
:parameters,
|
4338
|
+
:next_token)
|
4339
|
+
include Aws::Structure
|
4340
|
+
end
|
4341
|
+
|
4169
4342
|
# @note When making an API call, you may pass GetParametersRequest
|
4170
4343
|
# data as a hash:
|
4171
4344
|
#
|
@@ -5910,6 +6083,12 @@ module Aws::SSM
|
|
5910
6083
|
# The parameter value.
|
5911
6084
|
# @return [String]
|
5912
6085
|
#
|
6086
|
+
# @!attribute [rw] allowed_pattern
|
6087
|
+
# Parameter names can include the following letters and symbols.
|
6088
|
+
#
|
6089
|
+
# a-zA-Z0-9\_.-
|
6090
|
+
# @return [String]
|
6091
|
+
#
|
5913
6092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory AWS API Documentation
|
5914
6093
|
#
|
5915
6094
|
class ParameterHistory < Struct.new(
|
@@ -5919,7 +6098,8 @@ module Aws::SSM
|
|
5919
6098
|
:last_modified_date,
|
5920
6099
|
:last_modified_user,
|
5921
6100
|
:description,
|
5922
|
-
:value
|
6101
|
+
:value,
|
6102
|
+
:allowed_pattern)
|
5923
6103
|
include Aws::Structure
|
5924
6104
|
end
|
5925
6105
|
|
@@ -5952,6 +6132,12 @@ module Aws::SSM
|
|
5952
6132
|
# Description of the parameter actions.
|
5953
6133
|
# @return [String]
|
5954
6134
|
#
|
6135
|
+
# @!attribute [rw] allowed_pattern
|
6136
|
+
# A parameter name can include only the following letters and symbols.
|
6137
|
+
#
|
6138
|
+
# a-zA-Z0-9\_.-
|
6139
|
+
# @return [String]
|
6140
|
+
#
|
5955
6141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata AWS API Documentation
|
5956
6142
|
#
|
5957
6143
|
class ParameterMetadata < Struct.new(
|
@@ -5960,7 +6146,42 @@ module Aws::SSM
|
|
5960
6146
|
:key_id,
|
5961
6147
|
:last_modified_date,
|
5962
6148
|
:last_modified_user,
|
5963
|
-
:description
|
6149
|
+
:description,
|
6150
|
+
:allowed_pattern)
|
6151
|
+
include Aws::Structure
|
6152
|
+
end
|
6153
|
+
|
6154
|
+
# One or more filters. Use a filter to return a more specific list of
|
6155
|
+
# results.
|
6156
|
+
#
|
6157
|
+
# @note When making an API call, you may pass ParameterStringFilter
|
6158
|
+
# data as a hash:
|
6159
|
+
#
|
6160
|
+
# {
|
6161
|
+
# key: "ParameterStringFilterKey", # required
|
6162
|
+
# option: "ParameterStringQueryOption",
|
6163
|
+
# values: ["ParameterStringFilterValue"],
|
6164
|
+
# }
|
6165
|
+
#
|
6166
|
+
# @!attribute [rw] key
|
6167
|
+
# The name of the filter.
|
6168
|
+
# @return [String]
|
6169
|
+
#
|
6170
|
+
# @!attribute [rw] option
|
6171
|
+
# Valid options are Equals and BeginsWith. For Path filter, valid
|
6172
|
+
# options are Recursive and OneLevel.
|
6173
|
+
# @return [String]
|
6174
|
+
#
|
6175
|
+
# @!attribute [rw] values
|
6176
|
+
# The value you want to search for.
|
6177
|
+
# @return [Array<String>]
|
6178
|
+
#
|
6179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterStringFilter AWS API Documentation
|
6180
|
+
#
|
6181
|
+
class ParameterStringFilter < Struct.new(
|
6182
|
+
:key,
|
6183
|
+
:option,
|
6184
|
+
:values)
|
5964
6185
|
include Aws::Structure
|
5965
6186
|
end
|
5966
6187
|
|
@@ -5971,7 +6192,7 @@ module Aws::SSM
|
|
5971
6192
|
# data as a hash:
|
5972
6193
|
#
|
5973
6194
|
# {
|
5974
|
-
# key: "Name", # accepts Name, Type, KeyId
|
6195
|
+
# key: "Name", # required, accepts Name, Type, KeyId
|
5975
6196
|
# values: ["ParametersFilterValue"], # required
|
5976
6197
|
# }
|
5977
6198
|
#
|
@@ -6373,6 +6594,7 @@ module Aws::SSM
|
|
6373
6594
|
# type: "String", # required, accepts String, StringList, SecureString
|
6374
6595
|
# key_id: "ParameterKeyId",
|
6375
6596
|
# overwrite: false,
|
6597
|
+
# allowed_pattern: "AllowedPattern",
|
6376
6598
|
# }
|
6377
6599
|
#
|
6378
6600
|
# @!attribute [rw] name
|
@@ -6392,7 +6614,9 @@ module Aws::SSM
|
|
6392
6614
|
# @return [String]
|
6393
6615
|
#
|
6394
6616
|
# @!attribute [rw] key_id
|
6395
|
-
# The
|
6617
|
+
# The KMS Key ID that you want to use to encrypt a parameter when you
|
6618
|
+
# choose the SecureString data type. If you don't specify a key ID,
|
6619
|
+
# the system uses the default key associated with your AWS account.
|
6396
6620
|
# @return [String]
|
6397
6621
|
#
|
6398
6622
|
# @!attribute [rw] overwrite
|
@@ -6400,6 +6624,12 @@ module Aws::SSM
|
|
6400
6624
|
# "false".
|
6401
6625
|
# @return [Boolean]
|
6402
6626
|
#
|
6627
|
+
# @!attribute [rw] allowed_pattern
|
6628
|
+
# A regular expression used to validate the parameter value. For
|
6629
|
+
# example, for String types with values restricted to numbers, you can
|
6630
|
+
# specify the following: AllowedPattern=^\\d+$
|
6631
|
+
# @return [String]
|
6632
|
+
#
|
6403
6633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest AWS API Documentation
|
6404
6634
|
#
|
6405
6635
|
class PutParameterRequest < Struct.new(
|
@@ -6408,7 +6638,8 @@ module Aws::SSM
|
|
6408
6638
|
:value,
|
6409
6639
|
:type,
|
6410
6640
|
:key_id,
|
6411
|
-
:overwrite
|
6641
|
+
:overwrite,
|
6642
|
+
:allowed_pattern)
|
6412
6643
|
include Aws::Structure
|
6413
6644
|
end
|
6414
6645
|
|
@@ -6736,7 +6967,9 @@ module Aws::SSM
|
|
6736
6967
|
# }
|
6737
6968
|
#
|
6738
6969
|
# @!attribute [rw] output_s3_region
|
6739
|
-
#
|
6970
|
+
# (Deprecated) You can no longer specify this parameter. The system
|
6971
|
+
# ignores it. Instead, Systems Manager automatically determines the
|
6972
|
+
# Amazon S3 bucket region.
|
6740
6973
|
# @return [String]
|
6741
6974
|
#
|
6742
6975
|
# @!attribute [rw] output_s3_bucket_name
|
@@ -6807,19 +7040,24 @@ module Aws::SSM
|
|
6807
7040
|
# The instance IDs where the command should execute. You can specify a
|
6808
7041
|
# maximum of 50 IDs. If you prefer not to list individual instance
|
6809
7042
|
# IDs, you can instead send commands to a fleet of instances using the
|
6810
|
-
# Targets parameter, which accepts EC2 tags.
|
7043
|
+
# Targets parameter, which accepts EC2 tags. For more information
|
7044
|
+
# about how to use Targets, see [Sending Commands to a Fleet][1].
|
7045
|
+
#
|
7046
|
+
#
|
7047
|
+
#
|
7048
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
6811
7049
|
# @return [Array<String>]
|
6812
7050
|
#
|
6813
7051
|
# @!attribute [rw] targets
|
6814
7052
|
# (Optional) An array of search criteria that targets instances using
|
6815
7053
|
# a Key,Value combination that you specify. Targets is required if you
|
6816
7054
|
# don't provide one or more instance IDs in the call. For more
|
6817
|
-
# information about how to use Targets, see [
|
6818
|
-
#
|
7055
|
+
# information about how to use Targets, see [Sending Commands to a
|
7056
|
+
# Fleet][1].
|
6819
7057
|
#
|
6820
7058
|
#
|
6821
7059
|
#
|
6822
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
7060
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
6823
7061
|
# @return [Array<Types::Target>]
|
6824
7062
|
#
|
6825
7063
|
# @!attribute [rw] document_name
|
@@ -6860,9 +7098,9 @@ module Aws::SSM
|
|
6860
7098
|
# @return [Hash<String,Array<String>>]
|
6861
7099
|
#
|
6862
7100
|
# @!attribute [rw] output_s3_region
|
6863
|
-
# (
|
6864
|
-
#
|
6865
|
-
#
|
7101
|
+
# (Deprecated) You can no longer specify this parameter. The system
|
7102
|
+
# ignores it. Instead, Systems Manager automatically determines the
|
7103
|
+
# Amazon S3 bucket region.
|
6866
7104
|
# @return [String]
|
6867
7105
|
#
|
6868
7106
|
# @!attribute [rw] output_s3_bucket_name
|
@@ -6879,12 +7117,12 @@ module Aws::SSM
|
|
6879
7117
|
# (Optional) The maximum number of instances that are allowed to
|
6880
7118
|
# execute the command at the same time. You can specify a number such
|
6881
7119
|
# as 10 or a percentage such as 10%. The default value is 50. For more
|
6882
|
-
# information about how to use MaxConcurrency, see [
|
6883
|
-
#
|
7120
|
+
# information about how to use MaxConcurrency, see [Using Concurrency
|
7121
|
+
# Controls][1].
|
6884
7122
|
#
|
6885
7123
|
#
|
6886
7124
|
#
|
6887
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
7125
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-velocity.html
|
6888
7126
|
# @return [String]
|
6889
7127
|
#
|
6890
7128
|
# @!attribute [rw] max_errors
|
@@ -6892,12 +7130,12 @@ module Aws::SSM
|
|
6892
7130
|
# When the command fails one more time beyond the value of MaxErrors,
|
6893
7131
|
# the systems stops sending the command to additional targets. You can
|
6894
7132
|
# specify a number like 10 or a percentage like 10%. The default value
|
6895
|
-
# is 50. For more information about how to use MaxErrors, see
|
6896
|
-
#
|
7133
|
+
# is 50. For more information about how to use MaxErrors, see [Using
|
7134
|
+
# Error Controls][1].
|
6897
7135
|
#
|
6898
7136
|
#
|
6899
7137
|
#
|
6900
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
7138
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-maxerrors.html
|
6901
7139
|
# @return [String]
|
6902
7140
|
#
|
6903
7141
|
# @!attribute [rw] service_role_arn
|
@@ -7106,7 +7344,7 @@ module Aws::SSM
|
|
7106
7344
|
end
|
7107
7345
|
|
7108
7346
|
# An array of search criteria that targets instances using a Key,Value
|
7109
|
-
# combination that you specify. Targets is required if you don't
|
7347
|
+
# combination that you specify. `Targets` is required if you don't
|
7110
7348
|
# provide one or more instance IDs in the call.
|
7111
7349
|
#
|
7112
7350
|
# @note When making an API call, you may pass Target
|
@@ -7126,7 +7364,7 @@ module Aws::SSM
|
|
7126
7364
|
#
|
7127
7365
|
#
|
7128
7366
|
#
|
7129
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
7367
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
7130
7368
|
# @return [String]
|
7131
7369
|
#
|
7132
7370
|
# @!attribute [rw] values
|
@@ -7139,7 +7377,7 @@ module Aws::SSM
|
|
7139
7377
|
#
|
7140
7378
|
#
|
7141
7379
|
#
|
7142
|
-
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/
|
7380
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
7143
7381
|
# @return [Array<String>]
|
7144
7382
|
#
|
7145
7383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target 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.0.0.
|
4
|
+
version: 1.0.0.rc8
|
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-
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc13
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc13
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|