aws-sdk-ssm 1.163.0 → 1.165.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +200 -24
- data/lib/aws-sdk-ssm/client_api.rb +28 -0
- data/lib/aws-sdk-ssm/errors.rb +48 -0
- data/lib/aws-sdk-ssm/types.rb +237 -29
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +23 -0
- metadata +2 -2
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -108,6 +108,7 @@ module Aws::SSM
|
|
108
108
|
# * {InvocationDoesNotExist}
|
109
109
|
# * {ItemContentMismatchException}
|
110
110
|
# * {ItemSizeLimitExceededException}
|
111
|
+
# * {MalformedResourcePolicyDocumentException}
|
111
112
|
# * {MaxDocumentSizeExceeded}
|
112
113
|
# * {OpsItemAccessDeniedException}
|
113
114
|
# * {OpsItemAlreadyExistsException}
|
@@ -138,9 +139,11 @@ module Aws::SSM
|
|
138
139
|
# * {ResourceDataSyncNotFoundException}
|
139
140
|
# * {ResourceInUseException}
|
140
141
|
# * {ResourceLimitExceededException}
|
142
|
+
# * {ResourceNotFoundException}
|
141
143
|
# * {ResourcePolicyConflictException}
|
142
144
|
# * {ResourcePolicyInvalidParameterException}
|
143
145
|
# * {ResourcePolicyLimitExceededException}
|
146
|
+
# * {ResourcePolicyNotFoundException}
|
144
147
|
# * {ServiceSettingNotFound}
|
145
148
|
# * {StatusUnchanged}
|
146
149
|
# * {SubTypeCountLimitExceededException}
|
@@ -1333,6 +1336,21 @@ module Aws::SSM
|
|
1333
1336
|
end
|
1334
1337
|
end
|
1335
1338
|
|
1339
|
+
class MalformedResourcePolicyDocumentException < ServiceError
|
1340
|
+
|
1341
|
+
# @param [Seahorse::Client::RequestContext] context
|
1342
|
+
# @param [String] message
|
1343
|
+
# @param [Aws::SSM::Types::MalformedResourcePolicyDocumentException] data
|
1344
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1345
|
+
super(context, message, data)
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
# @return [String]
|
1349
|
+
def message
|
1350
|
+
@message || @data[:message]
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1336
1354
|
class MaxDocumentSizeExceeded < ServiceError
|
1337
1355
|
|
1338
1356
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1828,6 +1846,21 @@ module Aws::SSM
|
|
1828
1846
|
end
|
1829
1847
|
end
|
1830
1848
|
|
1849
|
+
class ResourceNotFoundException < ServiceError
|
1850
|
+
|
1851
|
+
# @param [Seahorse::Client::RequestContext] context
|
1852
|
+
# @param [String] message
|
1853
|
+
# @param [Aws::SSM::Types::ResourceNotFoundException] data
|
1854
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1855
|
+
super(context, message, data)
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# @return [String]
|
1859
|
+
def message
|
1860
|
+
@message || @data[:message]
|
1861
|
+
end
|
1862
|
+
end
|
1863
|
+
|
1831
1864
|
class ResourcePolicyConflictException < ServiceError
|
1832
1865
|
|
1833
1866
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1888,6 +1921,21 @@ module Aws::SSM
|
|
1888
1921
|
end
|
1889
1922
|
end
|
1890
1923
|
|
1924
|
+
class ResourcePolicyNotFoundException < ServiceError
|
1925
|
+
|
1926
|
+
# @param [Seahorse::Client::RequestContext] context
|
1927
|
+
# @param [String] message
|
1928
|
+
# @param [Aws::SSM::Types::ResourcePolicyNotFoundException] data
|
1929
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1930
|
+
super(context, message, data)
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# @return [String]
|
1934
|
+
def message
|
1935
|
+
@message || @data[:message]
|
1936
|
+
end
|
1937
|
+
end
|
1938
|
+
|
1891
1939
|
class ServiceSettingNotFound < ServiceError
|
1892
1940
|
|
1893
1941
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -352,6 +352,13 @@ module Aws::SSM
|
|
352
352
|
# association.
|
353
353
|
# @return [Integer]
|
354
354
|
#
|
355
|
+
# @!attribute [rw] duration
|
356
|
+
# The number of hours that an association can run on specified
|
357
|
+
# targets. After the resulting cutoff time passes, associations that
|
358
|
+
# are currently running are cancelled, and no pending executions are
|
359
|
+
# started on remaining targets.
|
360
|
+
# @return [Integer]
|
361
|
+
#
|
355
362
|
# @!attribute [rw] target_maps
|
356
363
|
# A key-value mapping of document parameters to target resources. Both
|
357
364
|
# Targets and TargetMaps can't be specified together.
|
@@ -371,6 +378,7 @@ module Aws::SSM
|
|
371
378
|
:schedule_expression,
|
372
379
|
:association_name,
|
373
380
|
:schedule_offset,
|
381
|
+
:duration,
|
374
382
|
:target_maps)
|
375
383
|
SENSITIVE = []
|
376
384
|
include Aws::Structure
|
@@ -538,6 +546,13 @@ module Aws::SSM
|
|
538
546
|
# association.
|
539
547
|
# @return [Integer]
|
540
548
|
#
|
549
|
+
# @!attribute [rw] duration
|
550
|
+
# The number of hours that an association can run on specified
|
551
|
+
# targets. After the resulting cutoff time passes, associations that
|
552
|
+
# are currently running are cancelled, and no pending executions are
|
553
|
+
# started on remaining targets.
|
554
|
+
# @return [Integer]
|
555
|
+
#
|
541
556
|
# @!attribute [rw] target_maps
|
542
557
|
# A key-value mapping of document parameters to target resources. Both
|
543
558
|
# Targets and TargetMaps can't be specified together.
|
@@ -580,6 +595,7 @@ module Aws::SSM
|
|
580
595
|
:calendar_names,
|
581
596
|
:target_locations,
|
582
597
|
:schedule_offset,
|
598
|
+
:duration,
|
583
599
|
:target_maps,
|
584
600
|
:alarm_configuration,
|
585
601
|
:triggered_alarms)
|
@@ -989,6 +1005,13 @@ module Aws::SSM
|
|
989
1005
|
# association.
|
990
1006
|
# @return [Integer]
|
991
1007
|
#
|
1008
|
+
# @!attribute [rw] duration
|
1009
|
+
# The number of hours that an association can run on specified
|
1010
|
+
# targets. After the resulting cutoff time passes, associations that
|
1011
|
+
# are currently running are cancelled, and no pending executions are
|
1012
|
+
# started on remaining targets.
|
1013
|
+
# @return [Integer]
|
1014
|
+
#
|
992
1015
|
# @!attribute [rw] target_maps
|
993
1016
|
# A key-value mapping of document parameters to target resources. Both
|
994
1017
|
# Targets and TargetMaps can't be specified together.
|
@@ -1015,6 +1038,7 @@ module Aws::SSM
|
|
1015
1038
|
:calendar_names,
|
1016
1039
|
:target_locations,
|
1017
1040
|
:schedule_offset,
|
1041
|
+
:duration,
|
1018
1042
|
:target_maps)
|
1019
1043
|
SENSITIVE = [:parameters]
|
1020
1044
|
include Aws::Structure
|
@@ -2940,6 +2964,25 @@ module Aws::SSM
|
|
2940
2964
|
# association.
|
2941
2965
|
# @return [Integer]
|
2942
2966
|
#
|
2967
|
+
# @!attribute [rw] duration
|
2968
|
+
# The number of hours the association can run before it is canceled.
|
2969
|
+
# Duration applies to associations that are currently running, and any
|
2970
|
+
# pending and in progress commands on all targets. If a target was
|
2971
|
+
# taken offline for the association to run, it is made available again
|
2972
|
+
# immediately, without a reboot.
|
2973
|
+
#
|
2974
|
+
# The `Duration` parameter applies only when both these conditions are
|
2975
|
+
# true:
|
2976
|
+
#
|
2977
|
+
# * The association for which you specify a duration is cancelable
|
2978
|
+
# according to the parameters of the SSM command document or
|
2979
|
+
# Automation runbook associated with this execution.
|
2980
|
+
#
|
2981
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
2982
|
+
# which means that the association doesn't run immediately after it
|
2983
|
+
# is created, but only according to the specified schedule.
|
2984
|
+
# @return [Integer]
|
2985
|
+
#
|
2943
2986
|
# @!attribute [rw] target_maps
|
2944
2987
|
# A key-value mapping of document parameters to target resources. Both
|
2945
2988
|
# Targets and TargetMaps can't be specified together.
|
@@ -2970,6 +3013,7 @@ module Aws::SSM
|
|
2970
3013
|
:calendar_names,
|
2971
3014
|
:target_locations,
|
2972
3015
|
:schedule_offset,
|
3016
|
+
:duration,
|
2973
3017
|
:target_maps,
|
2974
3018
|
:alarm_configuration)
|
2975
3019
|
SENSITIVE = [:parameters]
|
@@ -3182,6 +3226,25 @@ module Aws::SSM
|
|
3182
3226
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
3183
3227
|
# @return [Integer]
|
3184
3228
|
#
|
3229
|
+
# @!attribute [rw] duration
|
3230
|
+
# The number of hours the association can run before it is canceled.
|
3231
|
+
# Duration applies to associations that are currently running, and any
|
3232
|
+
# pending and in progress commands on all targets. If a target was
|
3233
|
+
# taken offline for the association to run, it is made available again
|
3234
|
+
# immediately, without a reboot.
|
3235
|
+
#
|
3236
|
+
# The `Duration` parameter applies only when both these conditions are
|
3237
|
+
# true:
|
3238
|
+
#
|
3239
|
+
# * The association for which you specify a duration is cancelable
|
3240
|
+
# according to the parameters of the SSM command document or
|
3241
|
+
# Automation runbook associated with this execution.
|
3242
|
+
#
|
3243
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
3244
|
+
# which means that the association doesn't run immediately after it
|
3245
|
+
# is created, but only according to the specified schedule.
|
3246
|
+
# @return [Integer]
|
3247
|
+
#
|
3185
3248
|
# @!attribute [rw] target_maps
|
3186
3249
|
# A key-value mapping of document parameters to target resources. Both
|
3187
3250
|
# Targets and TargetMaps can't be specified together.
|
@@ -3220,6 +3283,7 @@ module Aws::SSM
|
|
3220
3283
|
:calendar_names,
|
3221
3284
|
:target_locations,
|
3222
3285
|
:schedule_offset,
|
3286
|
+
:duration,
|
3223
3287
|
:target_maps,
|
3224
3288
|
:tags,
|
3225
3289
|
:alarm_configuration)
|
@@ -4167,6 +4231,11 @@ module Aws::SSM
|
|
4167
4231
|
|
4168
4232
|
# @!attribute [rw] name
|
4169
4233
|
# The name of the parameter to delete.
|
4234
|
+
#
|
4235
|
+
# <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
|
4236
|
+
# only the parameter name itself.
|
4237
|
+
#
|
4238
|
+
# </note>
|
4170
4239
|
# @return [String]
|
4171
4240
|
#
|
4172
4241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterRequest AWS API Documentation
|
@@ -4185,6 +4254,11 @@ module Aws::SSM
|
|
4185
4254
|
# The names of the parameters to delete. After deleting a parameter,
|
4186
4255
|
# wait for at least 30 seconds to create a parameter with the same
|
4187
4256
|
# name.
|
4257
|
+
#
|
4258
|
+
# <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
|
4259
|
+
# only the parameter name itself.
|
4260
|
+
#
|
4261
|
+
# </note>
|
4188
4262
|
# @return [Array<String>]
|
4189
4263
|
#
|
4190
4264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersRequest AWS API Documentation
|
@@ -4937,8 +5011,8 @@ module Aws::SSM
|
|
4937
5011
|
#
|
4938
5012
|
# @!attribute [rw] version_name
|
4939
5013
|
# An optional field specifying the version of the artifact associated
|
4940
|
-
# with the document. For example,
|
4941
|
-
#
|
5014
|
+
# with the document. For example, 12.6. This value is unique across
|
5015
|
+
# all versions of a document, and can't be changed.
|
4942
5016
|
# @return [String]
|
4943
5017
|
#
|
4944
5018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentRequest AWS API Documentation
|
@@ -5928,13 +6002,37 @@ module Aws::SSM
|
|
5928
6002
|
# token from a previous call.)
|
5929
6003
|
# @return [String]
|
5930
6004
|
#
|
6005
|
+
# @!attribute [rw] shared
|
6006
|
+
# Lists parameters that are shared with you.
|
6007
|
+
#
|
6008
|
+
# <note markdown="1"> By default when using this option, the command returns parameters
|
6009
|
+
# that have been shared using a standard Resource Access Manager
|
6010
|
+
# Resource Share. In order for a parameter that was shared using the
|
6011
|
+
# PutResourcePolicy command to be returned, the associated `RAM
|
6012
|
+
# Resource Share Created From Policy` must have been promoted to a
|
6013
|
+
# standard Resource Share using the RAM
|
6014
|
+
# [PromoteResourceShareCreatedFromPolicy][1] API operation.
|
6015
|
+
#
|
6016
|
+
# For more information about sharing parameters, see [Working with
|
6017
|
+
# shared
|
6018
|
+
# parameters](systems-manager/latest/userguide/parameter-store-shared-parameters.html)
|
6019
|
+
# in the *Amazon Web Services Systems Manager User Guide*.
|
6020
|
+
#
|
6021
|
+
# </note>
|
6022
|
+
#
|
6023
|
+
#
|
6024
|
+
#
|
6025
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html
|
6026
|
+
# @return [Boolean]
|
6027
|
+
#
|
5931
6028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersRequest AWS API Documentation
|
5932
6029
|
#
|
5933
6030
|
class DescribeParametersRequest < Struct.new(
|
5934
6031
|
:filters,
|
5935
6032
|
:parameter_filters,
|
5936
6033
|
:max_results,
|
5937
|
-
:next_token
|
6034
|
+
:next_token,
|
6035
|
+
:shared)
|
5938
6036
|
SENSITIVE = []
|
5939
6037
|
include Aws::Structure
|
5940
6038
|
end
|
@@ -6572,8 +6670,8 @@ module Aws::SSM
|
|
6572
6670
|
#
|
6573
6671
|
# @!attribute [rw] version_name
|
6574
6672
|
# An optional field specifying the version of the artifact associated
|
6575
|
-
# with the document. For example,
|
6576
|
-
#
|
6673
|
+
# with the document. For example, 12.6. This value is unique across
|
6674
|
+
# all versions of a document, and can't be changed.
|
6577
6675
|
# @return [String]
|
6578
6676
|
#
|
6579
6677
|
# @!attribute [rw] platform_types
|
@@ -6839,8 +6937,8 @@ module Aws::SSM
|
|
6839
6937
|
#
|
6840
6938
|
# @!attribute [rw] version_name
|
6841
6939
|
# An optional field specifying the version of the artifact associated
|
6842
|
-
# with the document. For example,
|
6843
|
-
#
|
6940
|
+
# with the document. For example, 12.6. This value is unique across
|
6941
|
+
# all versions of a document, and can't be changed.
|
6844
6942
|
# @return [String]
|
6845
6943
|
#
|
6846
6944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentRequires AWS API Documentation
|
@@ -6959,8 +7057,8 @@ module Aws::SSM
|
|
6959
7057
|
#
|
6960
7058
|
# @!attribute [rw] version_name
|
6961
7059
|
# The version of the artifact associated with the document. For
|
6962
|
-
# example,
|
6963
|
-
#
|
7060
|
+
# example, 12.6. This value is unique across all versions of a
|
7061
|
+
# document, and can't be changed.
|
6964
7062
|
# @return [String]
|
6965
7063
|
#
|
6966
7064
|
# @!attribute [rw] created_date
|
@@ -7497,8 +7595,7 @@ module Aws::SSM
|
|
7497
7595
|
# @return [String]
|
7498
7596
|
#
|
7499
7597
|
# @!attribute [rw] status
|
7500
|
-
# The status of the connection to the managed node.
|
7501
|
-
# 'Connected' or 'Not Connected'.
|
7598
|
+
# The status of the connection to the managed node.
|
7502
7599
|
# @return [String]
|
7503
7600
|
#
|
7504
7601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatusResponse AWS API Documentation
|
@@ -7600,8 +7697,8 @@ module Aws::SSM
|
|
7600
7697
|
#
|
7601
7698
|
# @!attribute [rw] version_name
|
7602
7699
|
# An optional field specifying the version of the artifact associated
|
7603
|
-
# with the document. For example,
|
7604
|
-
#
|
7700
|
+
# with the document. For example, 12.6. This value is unique across
|
7701
|
+
# all versions of a document and can't be changed.
|
7605
7702
|
# @return [String]
|
7606
7703
|
#
|
7607
7704
|
# @!attribute [rw] document_version
|
@@ -7640,8 +7737,8 @@ module Aws::SSM
|
|
7640
7737
|
#
|
7641
7738
|
# @!attribute [rw] version_name
|
7642
7739
|
# The version of the artifact associated with the document. For
|
7643
|
-
# example,
|
7644
|
-
#
|
7740
|
+
# example, 12.6. This value is unique across all versions of a
|
7741
|
+
# document, and can't be changed.
|
7645
7742
|
# @return [String]
|
7646
7743
|
#
|
7647
7744
|
# @!attribute [rw] document_version
|
@@ -8503,7 +8600,9 @@ module Aws::SSM
|
|
8503
8600
|
end
|
8504
8601
|
|
8505
8602
|
# @!attribute [rw] name
|
8506
|
-
# The name of the parameter for which
|
8603
|
+
# The name or Amazon Resource Name (ARN) of the parameter for which
|
8604
|
+
# you want to review history. For parameters shared with you from
|
8605
|
+
# another account, you must use the full ARN.
|
8507
8606
|
# @return [String]
|
8508
8607
|
#
|
8509
8608
|
# @!attribute [rw] with_decryption
|
@@ -8552,10 +8651,20 @@ module Aws::SSM
|
|
8552
8651
|
end
|
8553
8652
|
|
8554
8653
|
# @!attribute [rw] name
|
8555
|
-
# The name of the parameter you
|
8654
|
+
# The name or Amazon Resource Name (ARN) of the parameter that you
|
8655
|
+
# want to query. For parameters shared with you from another account,
|
8656
|
+
# you must use the full ARN.
|
8556
8657
|
#
|
8557
8658
|
# To query by parameter label, use `"Name": "name:label"`. To query by
|
8558
8659
|
# parameter version, use `"Name": "name:version"`.
|
8660
|
+
#
|
8661
|
+
# For more information about shared parameters, see [Working with
|
8662
|
+
# shared parameters][1] in the *Amazon Web Services Systems Manager
|
8663
|
+
# User Guide*.
|
8664
|
+
#
|
8665
|
+
#
|
8666
|
+
#
|
8667
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
|
8559
8668
|
# @return [String]
|
8560
8669
|
#
|
8561
8670
|
# @!attribute [rw] with_decryption
|
@@ -8664,10 +8773,20 @@ module Aws::SSM
|
|
8664
8773
|
end
|
8665
8774
|
|
8666
8775
|
# @!attribute [rw] names
|
8667
|
-
# Names of the parameters
|
8776
|
+
# The names or Amazon Resource Names (ARNs) of the parameters that you
|
8777
|
+
# want to query. For parameters shared with you from another account,
|
8778
|
+
# you must use the full ARNs.
|
8668
8779
|
#
|
8669
8780
|
# To query by parameter label, use `"Name": "name:label"`. To query by
|
8670
8781
|
# parameter version, use `"Name": "name:version"`.
|
8782
|
+
#
|
8783
|
+
# For more information about shared parameters, see [Working with
|
8784
|
+
# shared parameters][1] in the *Amazon Web Services Systems Manager
|
8785
|
+
# User Guide*.
|
8786
|
+
#
|
8787
|
+
#
|
8788
|
+
#
|
8789
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
|
8671
8790
|
# @return [Array<String>]
|
8672
8791
|
#
|
8673
8792
|
# @!attribute [rw] with_decryption
|
@@ -10744,6 +10863,11 @@ module Aws::SSM
|
|
10744
10863
|
|
10745
10864
|
# @!attribute [rw] name
|
10746
10865
|
# The parameter name on which you want to attach one or more labels.
|
10866
|
+
#
|
10867
|
+
# <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
|
10868
|
+
# only the parameter name itself.
|
10869
|
+
#
|
10870
|
+
# </note>
|
10747
10871
|
# @return [String]
|
10748
10872
|
#
|
10749
10873
|
# @!attribute [rw] parameter_version
|
@@ -12456,6 +12580,20 @@ module Aws::SSM
|
|
12456
12580
|
include Aws::Structure
|
12457
12581
|
end
|
12458
12582
|
|
12583
|
+
# The specified policy document is malformed or invalid, or excessive
|
12584
|
+
# `PutResourcePolicy` or `DeleteResourcePolicy` calls have been made.
|
12585
|
+
#
|
12586
|
+
# @!attribute [rw] message
|
12587
|
+
# @return [String]
|
12588
|
+
#
|
12589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MalformedResourcePolicyDocumentException AWS API Documentation
|
12590
|
+
#
|
12591
|
+
class MalformedResourcePolicyDocumentException < Struct.new(
|
12592
|
+
:message)
|
12593
|
+
SENSITIVE = []
|
12594
|
+
include Aws::Structure
|
12595
|
+
end
|
12596
|
+
|
12459
12597
|
# The size limit of a document is 64 KB.
|
12460
12598
|
#
|
12461
12599
|
# @!attribute [rw] message
|
@@ -13664,7 +13802,8 @@ module Aws::SSM
|
|
13664
13802
|
# @return [String]
|
13665
13803
|
#
|
13666
13804
|
# @!attribute [rw] key_id
|
13667
|
-
# The
|
13805
|
+
# The alias of the Key Management Service (KMS) key used to encrypt
|
13806
|
+
# the parameter. Applies to `SecureString` parameters only
|
13668
13807
|
# @return [String]
|
13669
13808
|
#
|
13670
13809
|
# @!attribute [rw] last_modified_date
|
@@ -13818,20 +13957,26 @@ module Aws::SSM
|
|
13818
13957
|
include Aws::Structure
|
13819
13958
|
end
|
13820
13959
|
|
13821
|
-
# Metadata includes information like the
|
13822
|
-
#
|
13960
|
+
# Metadata includes information like the Amazon Resource Name (ARN) of
|
13961
|
+
# the last user to update the parameter and the date and time the
|
13962
|
+
# parameter was last used.
|
13823
13963
|
#
|
13824
13964
|
# @!attribute [rw] name
|
13825
13965
|
# The parameter name.
|
13826
13966
|
# @return [String]
|
13827
13967
|
#
|
13968
|
+
# @!attribute [rw] arn
|
13969
|
+
# The (ARN) of the last user to update the parameter.
|
13970
|
+
# @return [String]
|
13971
|
+
#
|
13828
13972
|
# @!attribute [rw] type
|
13829
13973
|
# The type of parameter. Valid parameter types include the following:
|
13830
13974
|
# `String`, `StringList`, and `SecureString`.
|
13831
13975
|
# @return [String]
|
13832
13976
|
#
|
13833
13977
|
# @!attribute [rw] key_id
|
13834
|
-
# The
|
13978
|
+
# The alias of the Key Management Service (KMS) key used to encrypt
|
13979
|
+
# the parameter. Applies to `SecureString` parameters only.
|
13835
13980
|
# @return [String]
|
13836
13981
|
#
|
13837
13982
|
# @!attribute [rw] last_modified_date
|
@@ -13874,6 +14019,7 @@ module Aws::SSM
|
|
13874
14019
|
#
|
13875
14020
|
class ParameterMetadata < Struct.new(
|
13876
14021
|
:name,
|
14022
|
+
:arn,
|
13877
14023
|
:type,
|
13878
14024
|
:key_id,
|
13879
14025
|
:last_modified_date,
|
@@ -14276,6 +14422,11 @@ module Aws::SSM
|
|
14276
14422
|
# @!attribute [rw] cve_ids
|
14277
14423
|
# The IDs of one or more Common Vulnerabilities and Exposure (CVE)
|
14278
14424
|
# issues that are resolved by the patch.
|
14425
|
+
#
|
14426
|
+
# <note markdown="1"> Currently, CVE ID values are reported only for patches with a status
|
14427
|
+
# of `Missing` or `Failed`.
|
14428
|
+
#
|
14429
|
+
# </note>
|
14279
14430
|
# @return [String]
|
14280
14431
|
#
|
14281
14432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData AWS API Documentation
|
@@ -14690,10 +14841,17 @@ module Aws::SSM
|
|
14690
14841
|
|
14691
14842
|
# @!attribute [rw] name
|
14692
14843
|
# The fully qualified name of the parameter that you want to add to
|
14693
|
-
# the system.
|
14694
|
-
#
|
14695
|
-
#
|
14696
|
-
#
|
14844
|
+
# the system.
|
14845
|
+
#
|
14846
|
+
# <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
|
14847
|
+
# only the parameter name itself.
|
14848
|
+
#
|
14849
|
+
# </note>
|
14850
|
+
#
|
14851
|
+
# The fully qualified name includes the complete hierarchy of the
|
14852
|
+
# parameter path and name. For parameters in a hierarchy, you must
|
14853
|
+
# include a leading forward slash character (/) when you create or
|
14854
|
+
# reference a parameter. For example:
|
14697
14855
|
# `/Dev/DBServer/MySQL/db-string13`
|
14698
14856
|
#
|
14699
14857
|
# Naming Constraints:
|
@@ -16061,6 +16219,19 @@ module Aws::SSM
|
|
16061
16219
|
include Aws::Structure
|
16062
16220
|
end
|
16063
16221
|
|
16222
|
+
# The specified parameter to be shared could not be found.
|
16223
|
+
#
|
16224
|
+
# @!attribute [rw] message
|
16225
|
+
# @return [String]
|
16226
|
+
#
|
16227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceNotFoundException AWS API Documentation
|
16228
|
+
#
|
16229
|
+
class ResourceNotFoundException < Struct.new(
|
16230
|
+
:message)
|
16231
|
+
SENSITIVE = []
|
16232
|
+
include Aws::Structure
|
16233
|
+
end
|
16234
|
+
|
16064
16235
|
# The hash provided in the call doesn't match the stored hash. This
|
16065
16236
|
# exception is thrown when trying to update an obsolete policy version
|
16066
16237
|
# or when multiple requests to update a policy are sent.
|
@@ -16117,6 +16288,19 @@ module Aws::SSM
|
|
16117
16288
|
include Aws::Structure
|
16118
16289
|
end
|
16119
16290
|
|
16291
|
+
# No policies with the specified policy ID and hash could be found.
|
16292
|
+
#
|
16293
|
+
# @!attribute [rw] message
|
16294
|
+
# @return [String]
|
16295
|
+
#
|
16296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourcePolicyNotFoundException AWS API Documentation
|
16297
|
+
#
|
16298
|
+
class ResourcePolicyNotFoundException < Struct.new(
|
16299
|
+
:message)
|
16300
|
+
SENSITIVE = []
|
16301
|
+
include Aws::Structure
|
16302
|
+
end
|
16303
|
+
|
16120
16304
|
# The inventory item result attribute.
|
16121
16305
|
#
|
16122
16306
|
# @!attribute [rw] type_name
|
@@ -17704,6 +17888,11 @@ module Aws::SSM
|
|
17704
17888
|
# @!attribute [rw] name
|
17705
17889
|
# The name of the parameter from which you want to delete one or more
|
17706
17890
|
# labels.
|
17891
|
+
#
|
17892
|
+
# <note markdown="1"> You can't enter the Amazon Resource Name (ARN) for a parameter,
|
17893
|
+
# only the parameter name itself.
|
17894
|
+
#
|
17895
|
+
# </note>
|
17707
17896
|
# @return [String]
|
17708
17897
|
#
|
17709
17898
|
# @!attribute [rw] parameter_version
|
@@ -18047,6 +18236,25 @@ module Aws::SSM
|
|
18047
18236
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html
|
18048
18237
|
# @return [Integer]
|
18049
18238
|
#
|
18239
|
+
# @!attribute [rw] duration
|
18240
|
+
# The number of hours the association can run before it is canceled.
|
18241
|
+
# Duration applies to associations that are currently running, and any
|
18242
|
+
# pending and in progress commands on all targets. If a target was
|
18243
|
+
# taken offline for the association to run, it is made available again
|
18244
|
+
# immediately, without a reboot.
|
18245
|
+
#
|
18246
|
+
# The `Duration` parameter applies only when both these conditions are
|
18247
|
+
# true:
|
18248
|
+
#
|
18249
|
+
# * The association for which you specify a duration is cancelable
|
18250
|
+
# according to the parameters of the SSM command document or
|
18251
|
+
# Automation runbook associated with this execution.
|
18252
|
+
#
|
18253
|
+
# * The command specifies the ` ApplyOnlyAtCronInterval ` parameter,
|
18254
|
+
# which means that the association doesn't run immediately after it
|
18255
|
+
# is updated, but only according to the specified schedule.
|
18256
|
+
# @return [Integer]
|
18257
|
+
#
|
18050
18258
|
# @!attribute [rw] target_maps
|
18051
18259
|
# A key-value mapping of document parameters to target resources. Both
|
18052
18260
|
# Targets and TargetMaps can't be specified together.
|
@@ -18078,6 +18286,7 @@ module Aws::SSM
|
|
18078
18286
|
:calendar_names,
|
18079
18287
|
:target_locations,
|
18080
18288
|
:schedule_offset,
|
18289
|
+
:duration,
|
18081
18290
|
:target_maps,
|
18082
18291
|
:alarm_configuration)
|
18083
18292
|
SENSITIVE = [:parameters]
|
@@ -18212,9 +18421,8 @@ module Aws::SSM
|
|
18212
18421
|
#
|
18213
18422
|
# @!attribute [rw] version_name
|
18214
18423
|
# An optional field specifying the version of the artifact you are
|
18215
|
-
# updating with the document. For example,
|
18216
|
-
#
|
18217
|
-
# be changed.
|
18424
|
+
# updating with the document. For example, 12.6. This value is unique
|
18425
|
+
# across all versions of a document, and can't be changed.
|
18218
18426
|
# @return [String]
|
18219
18427
|
#
|
18220
18428
|
# @!attribute [rw] document_version
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -199,6 +199,7 @@ module Aws
|
|
199
199
|
},
|
200
200
|
],
|
201
201
|
?schedule_offset: ::Integer,
|
202
|
+
?duration: ::Integer,
|
202
203
|
?target_maps: Array[
|
203
204
|
Hash[::String, Array[::String]],
|
204
205
|
],
|
@@ -272,6 +273,7 @@ module Aws
|
|
272
273
|
},
|
273
274
|
]?,
|
274
275
|
schedule_offset: ::Integer?,
|
276
|
+
duration: ::Integer?,
|
275
277
|
target_maps: Array[
|
276
278
|
Hash[::String, Array[::String]],
|
277
279
|
]?,
|
@@ -1156,7 +1158,8 @@ module Aws
|
|
1156
1158
|
},
|
1157
1159
|
],
|
1158
1160
|
?max_results: ::Integer,
|
1159
|
-
?next_token: ::String
|
1161
|
+
?next_token: ::String,
|
1162
|
+
?shared: bool
|
1160
1163
|
) -> _DescribeParametersResponseSuccess
|
1161
1164
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeParametersResponseSuccess
|
1162
1165
|
|
@@ -2611,6 +2614,7 @@ module Aws
|
|
2611
2614
|
},
|
2612
2615
|
],
|
2613
2616
|
?schedule_offset: ::Integer,
|
2617
|
+
?duration: ::Integer,
|
2614
2618
|
?target_maps: Array[
|
2615
2619
|
Hash[::String, Array[::String]],
|
2616
2620
|
],
|
data/sig/errors.rbs
CHANGED
@@ -245,6 +245,9 @@ module Aws
|
|
245
245
|
def type_name: () -> ::String
|
246
246
|
def message: () -> ::String
|
247
247
|
end
|
248
|
+
class MalformedResourcePolicyDocumentException < ::Aws::Errors::ServiceError
|
249
|
+
def message: () -> ::String
|
250
|
+
end
|
248
251
|
class MaxDocumentSizeExceeded < ::Aws::Errors::ServiceError
|
249
252
|
def message: () -> ::String
|
250
253
|
end
|
@@ -344,6 +347,9 @@ module Aws
|
|
344
347
|
class ResourceLimitExceededException < ::Aws::Errors::ServiceError
|
345
348
|
def message: () -> ::String
|
346
349
|
end
|
350
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
351
|
+
def message: () -> ::String
|
352
|
+
end
|
347
353
|
class ResourcePolicyConflictException < ::Aws::Errors::ServiceError
|
348
354
|
def message: () -> ::String
|
349
355
|
end
|
@@ -356,6 +362,9 @@ module Aws
|
|
356
362
|
def limit_type: () -> ::String
|
357
363
|
def message: () -> ::String
|
358
364
|
end
|
365
|
+
class ResourcePolicyNotFoundException < ::Aws::Errors::ServiceError
|
366
|
+
def message: () -> ::String
|
367
|
+
end
|
359
368
|
class ServiceSettingNotFound < ::Aws::Errors::ServiceError
|
360
369
|
def message: () -> ::String
|
361
370
|
end
|