aws-sdk-ssm 1.42.0 → 1.43.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 +81 -7
- data/lib/aws-sdk-ssm/client_api.rb +25 -0
- data/lib/aws-sdk-ssm/types.rb +162 -42
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51a1396c5bd67d8d3d6f44aeb0742bef991da0e4
|
4
|
+
data.tar.gz: b99b468670b1d3591f6b49ecc198754227445146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7df1a6b88cdb8e39937287271726c1ad865c33222228c36327cbfc427981d0cf8a1f59b8cbfde47f877aced7ba374912a08248e97fbc7e68d9f537e1b533a4
|
7
|
+
data.tar.gz: aeabbbc09dd439cabe95608218d61b7e9afd2380065ac4b6b2ab621f5e923960fd842646a77025e3ef3ee757fad367b93c8972984dca4fb4ed18a987cf94ae54
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -544,7 +544,7 @@ module Aws::SSM
|
|
544
544
|
# The instance ID.
|
545
545
|
#
|
546
546
|
# @option params [Hash<String,Array>] :parameters
|
547
|
-
# The parameters for the
|
547
|
+
# The parameters for the runtime configuration of the document.
|
548
548
|
#
|
549
549
|
# @option params [Array<Types::Target>] :targets
|
550
550
|
# The targets (either instances or tags) for the association.
|
@@ -1080,7 +1080,7 @@ module Aws::SSM
|
|
1080
1080
|
#
|
1081
1081
|
#
|
1082
1082
|
#
|
1083
|
-
# [1]:
|
1083
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1084
1084
|
#
|
1085
1085
|
# @option params [String] :approved_patches_compliance_level
|
1086
1086
|
# Defines the compliance level for approved patches. This means that if
|
@@ -1101,7 +1101,7 @@ module Aws::SSM
|
|
1101
1101
|
#
|
1102
1102
|
#
|
1103
1103
|
#
|
1104
|
-
# [1]:
|
1104
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1105
1105
|
#
|
1106
1106
|
# @option params [String] :rejected_patches_action
|
1107
1107
|
# The action for Patch Manager to take on patches included in the
|
@@ -3391,6 +3391,11 @@ module Aws::SSM
|
|
3391
3391
|
# resp.parameters[0].description #=> String
|
3392
3392
|
# resp.parameters[0].allowed_pattern #=> String
|
3393
3393
|
# resp.parameters[0].version #=> Integer
|
3394
|
+
# resp.parameters[0].tier #=> String, one of "Standard", "Advanced"
|
3395
|
+
# resp.parameters[0].policies #=> Array
|
3396
|
+
# resp.parameters[0].policies[0].policy_text #=> String
|
3397
|
+
# resp.parameters[0].policies[0].policy_type #=> String
|
3398
|
+
# resp.parameters[0].policies[0].policy_status #=> String
|
3394
3399
|
# resp.next_token #=> String
|
3395
3400
|
#
|
3396
3401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters AWS API Documentation
|
@@ -4516,6 +4521,11 @@ module Aws::SSM
|
|
4516
4521
|
# resp.parameters[0].version #=> Integer
|
4517
4522
|
# resp.parameters[0].labels #=> Array
|
4518
4523
|
# resp.parameters[0].labels[0] #=> String
|
4524
|
+
# resp.parameters[0].tier #=> String, one of "Standard", "Advanced"
|
4525
|
+
# resp.parameters[0].policies #=> Array
|
4526
|
+
# resp.parameters[0].policies[0].policy_text #=> String
|
4527
|
+
# resp.parameters[0].policies[0].policy_type #=> String
|
4528
|
+
# resp.parameters[0].policies[0].policy_status #=> String
|
4519
4529
|
# resp.next_token #=> String
|
4520
4530
|
#
|
4521
4531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory AWS API Documentation
|
@@ -5954,7 +5964,9 @@ module Aws::SSM
|
|
5954
5964
|
# Do not enter personally identifiable information in this field.
|
5955
5965
|
#
|
5956
5966
|
# @option params [required, String] :value
|
5957
|
-
# The parameter value that you want to add to the system.
|
5967
|
+
# The parameter value that you want to add to the system. Standard
|
5968
|
+
# parameters have a value limit of 4 KB. Advanced parameters have a
|
5969
|
+
# value limit of 8 KB.
|
5958
5970
|
#
|
5959
5971
|
# @option params [required, String] :type
|
5960
5972
|
# The type of parameter that you want to add to the system.
|
@@ -6015,6 +6027,66 @@ module Aws::SSM
|
|
6015
6027
|
#
|
6016
6028
|
# </note>
|
6017
6029
|
#
|
6030
|
+
# @option params [String] :tier
|
6031
|
+
# Parameter Store offers a standard tier and an advanced tier for
|
6032
|
+
# parameters. Standard parameters have a value limit of 4 KB and can't
|
6033
|
+
# be configured to use parameter policies. You can create a maximum of
|
6034
|
+
# 10,000 standard parameters per account and per Region. Standard
|
6035
|
+
# parameters are offered at no additional cost.
|
6036
|
+
#
|
6037
|
+
# Advanced parameters have a value limit of 8 KB and can be configured
|
6038
|
+
# to use parameter policies. You can create a maximum of 100,000
|
6039
|
+
# advanced parameters per account and per Region. Advanced parameters
|
6040
|
+
# incur a charge.
|
6041
|
+
#
|
6042
|
+
# If you don't specify a parameter tier when you create a new
|
6043
|
+
# parameter, the parameter defaults to using the standard tier. You can
|
6044
|
+
# change a standard parameter to an advanced parameter at any time. But
|
6045
|
+
# you can't revert an advanced parameter to a standard parameter.
|
6046
|
+
# Reverting an advanced parameter to a standard parameter would result
|
6047
|
+
# in data loss because the system would truncate the size of the
|
6048
|
+
# parameter from 8 KB to 4 KB. Reverting would also remove any policies
|
6049
|
+
# attached to the parameter. Lastly, advanced parameters use a different
|
6050
|
+
# form of encryption than standard parameters.
|
6051
|
+
#
|
6052
|
+
# If you no longer need an advanced parameter, or if you no longer want
|
6053
|
+
# to incur charges for an advanced parameter, you must delete it and
|
6054
|
+
# recreate it as a new standard parameter. For more information, see
|
6055
|
+
# [About Advanced Parameters][1] in the *AWS Systems Manager User
|
6056
|
+
# Guide*.
|
6057
|
+
#
|
6058
|
+
#
|
6059
|
+
#
|
6060
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html
|
6061
|
+
#
|
6062
|
+
# @option params [String] :policies
|
6063
|
+
# One or more policies to apply to a parameter. This action takes a JSON
|
6064
|
+
# array. Parameter Store supports the following policy types:
|
6065
|
+
#
|
6066
|
+
# Expiration: This policy deletes the parameter after it expires. When
|
6067
|
+
# you create the policy, you specify the expiration date. You can update
|
6068
|
+
# the expiration date and time by updating the policy. Updating the
|
6069
|
+
# *parameter* does not affect the expiration date and time. When the
|
6070
|
+
# expiration time is reached, Parameter Store deletes the parameter.
|
6071
|
+
#
|
6072
|
+
# ExpirationNotification: This policy triggers an event in Amazon
|
6073
|
+
# CloudWatch Events that notifies you about the expiration. By using
|
6074
|
+
# this policy, you can receive notification before or after the
|
6075
|
+
# expiration time is reached, in units of days or hours.
|
6076
|
+
#
|
6077
|
+
# NoChangeNotification: This policy triggers a CloudWatch event if a
|
6078
|
+
# parameter has not been modified for a specified period of time. This
|
6079
|
+
# policy type is useful when, for example, a secret needs to be changed
|
6080
|
+
# within a period of time, but it has not been changed.
|
6081
|
+
#
|
6082
|
+
# All existing policies are preserved until you send new policies or an
|
6083
|
+
# empty policy. For more information about parameter policies, see
|
6084
|
+
# [Working with Parameter Policies][1].
|
6085
|
+
#
|
6086
|
+
#
|
6087
|
+
#
|
6088
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-policies.html
|
6089
|
+
#
|
6018
6090
|
# @return [Types::PutParameterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6019
6091
|
#
|
6020
6092
|
# * {Types::PutParameterResult#version #version} => Integer
|
@@ -6035,6 +6107,8 @@ module Aws::SSM
|
|
6035
6107
|
# value: "TagValue", # required
|
6036
6108
|
# },
|
6037
6109
|
# ],
|
6110
|
+
# tier: "Standard", # accepts Standard, Advanced
|
6111
|
+
# policies: "ParameterPolicies",
|
6038
6112
|
# })
|
6039
6113
|
#
|
6040
6114
|
# @example Response structure
|
@@ -7890,7 +7964,7 @@ module Aws::SSM
|
|
7890
7964
|
#
|
7891
7965
|
#
|
7892
7966
|
#
|
7893
|
-
# [1]:
|
7967
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
7894
7968
|
#
|
7895
7969
|
# @option params [String] :approved_patches_compliance_level
|
7896
7970
|
# Assigns a new compliance severity level to an existing patch baseline.
|
@@ -7909,7 +7983,7 @@ module Aws::SSM
|
|
7909
7983
|
#
|
7910
7984
|
#
|
7911
7985
|
#
|
7912
|
-
# [1]:
|
7986
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
7913
7987
|
#
|
7914
7988
|
# @option params [String] :rejected_patches_action
|
7915
7989
|
# The action for Patch Manager to take on patches included in the
|
@@ -8100,7 +8174,7 @@ module Aws::SSM
|
|
8100
8174
|
params: params,
|
8101
8175
|
config: config)
|
8102
8176
|
context[:gem_name] = 'aws-sdk-ssm'
|
8103
|
-
context[:gem_version] = '1.
|
8177
|
+
context[:gem_version] = '1.43.0'
|
8104
8178
|
Seahorse::Client::Request.new(handlers, context)
|
8105
8179
|
end
|
8106
8180
|
|
@@ -387,6 +387,7 @@ module Aws::SSM
|
|
387
387
|
IamRole = Shapes::StringShape.new(name: 'IamRole')
|
388
388
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
389
389
|
IdempotentParameterMismatch = Shapes::StructureShape.new(name: 'IdempotentParameterMismatch')
|
390
|
+
IncompatiblePolicyException = Shapes::StructureShape.new(name: 'IncompatiblePolicyException')
|
390
391
|
InstallOverrideList = Shapes::StringShape.new(name: 'InstallOverrideList')
|
391
392
|
InstanceAggregatedAssociationOverview = Shapes::StructureShape.new(name: 'InstanceAggregatedAssociationOverview')
|
392
393
|
InstanceAssociation = Shapes::StructureShape.new(name: 'InstanceAssociation')
|
@@ -459,6 +460,8 @@ module Aws::SSM
|
|
459
460
|
InvalidParameters = Shapes::StructureShape.new(name: 'InvalidParameters')
|
460
461
|
InvalidPermissionType = Shapes::StructureShape.new(name: 'InvalidPermissionType')
|
461
462
|
InvalidPluginName = Shapes::StructureShape.new(name: 'InvalidPluginName')
|
463
|
+
InvalidPolicyAttributeException = Shapes::StructureShape.new(name: 'InvalidPolicyAttributeException')
|
464
|
+
InvalidPolicyTypeException = Shapes::StructureShape.new(name: 'InvalidPolicyTypeException')
|
462
465
|
InvalidResourceId = Shapes::StructureShape.new(name: 'InvalidResourceId')
|
463
466
|
InvalidResourceType = Shapes::StructureShape.new(name: 'InvalidResourceType')
|
464
467
|
InvalidResultAttributeException = Shapes::StructureShape.new(name: 'InvalidResultAttributeException')
|
@@ -643,6 +646,7 @@ module Aws::SSM
|
|
643
646
|
ParameterDescription = Shapes::StringShape.new(name: 'ParameterDescription')
|
644
647
|
ParameterHistory = Shapes::StructureShape.new(name: 'ParameterHistory')
|
645
648
|
ParameterHistoryList = Shapes::ListShape.new(name: 'ParameterHistoryList')
|
649
|
+
ParameterInlinePolicy = Shapes::StructureShape.new(name: 'ParameterInlinePolicy')
|
646
650
|
ParameterKeyId = Shapes::StringShape.new(name: 'ParameterKeyId')
|
647
651
|
ParameterLabel = Shapes::StringShape.new(name: 'ParameterLabel')
|
648
652
|
ParameterLabelList = Shapes::ListShape.new(name: 'ParameterLabelList')
|
@@ -655,12 +659,15 @@ module Aws::SSM
|
|
655
659
|
ParameterNameList = Shapes::ListShape.new(name: 'ParameterNameList')
|
656
660
|
ParameterNotFound = Shapes::StructureShape.new(name: 'ParameterNotFound')
|
657
661
|
ParameterPatternMismatchException = Shapes::StructureShape.new(name: 'ParameterPatternMismatchException')
|
662
|
+
ParameterPolicies = Shapes::StringShape.new(name: 'ParameterPolicies')
|
663
|
+
ParameterPolicyList = Shapes::ListShape.new(name: 'ParameterPolicyList')
|
658
664
|
ParameterStringFilter = Shapes::StructureShape.new(name: 'ParameterStringFilter')
|
659
665
|
ParameterStringFilterKey = Shapes::StringShape.new(name: 'ParameterStringFilterKey')
|
660
666
|
ParameterStringFilterList = Shapes::ListShape.new(name: 'ParameterStringFilterList')
|
661
667
|
ParameterStringFilterValue = Shapes::StringShape.new(name: 'ParameterStringFilterValue')
|
662
668
|
ParameterStringFilterValueList = Shapes::ListShape.new(name: 'ParameterStringFilterValueList')
|
663
669
|
ParameterStringQueryOption = Shapes::StringShape.new(name: 'ParameterStringQueryOption')
|
670
|
+
ParameterTier = Shapes::StringShape.new(name: 'ParameterTier')
|
664
671
|
ParameterType = Shapes::StringShape.new(name: 'ParameterType')
|
665
672
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
666
673
|
ParameterValueList = Shapes::ListShape.new(name: 'ParameterValueList')
|
@@ -733,6 +740,7 @@ module Aws::SSM
|
|
733
740
|
PingStatus = Shapes::StringShape.new(name: 'PingStatus')
|
734
741
|
PlatformType = Shapes::StringShape.new(name: 'PlatformType')
|
735
742
|
PlatformTypeList = Shapes::ListShape.new(name: 'PlatformTypeList')
|
743
|
+
PoliciesLimitExceededException = Shapes::StructureShape.new(name: 'PoliciesLimitExceededException')
|
736
744
|
Product = Shapes::StringShape.new(name: 'Product')
|
737
745
|
ProgressCounters = Shapes::StructureShape.new(name: 'ProgressCounters')
|
738
746
|
PutComplianceItemsRequest = Shapes::StructureShape.new(name: 'PutComplianceItemsRequest')
|
@@ -2634,10 +2642,17 @@ module Aws::SSM
|
|
2634
2642
|
ParameterHistory.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
2635
2643
|
ParameterHistory.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
2636
2644
|
ParameterHistory.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "Labels"))
|
2645
|
+
ParameterHistory.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
2646
|
+
ParameterHistory.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicyList, location_name: "Policies"))
|
2637
2647
|
ParameterHistory.struct_class = Types::ParameterHistory
|
2638
2648
|
|
2639
2649
|
ParameterHistoryList.member = Shapes::ShapeRef.new(shape: ParameterHistory)
|
2640
2650
|
|
2651
|
+
ParameterInlinePolicy.add_member(:policy_text, Shapes::ShapeRef.new(shape: String, location_name: "PolicyText"))
|
2652
|
+
ParameterInlinePolicy.add_member(:policy_type, Shapes::ShapeRef.new(shape: String, location_name: "PolicyType"))
|
2653
|
+
ParameterInlinePolicy.add_member(:policy_status, Shapes::ShapeRef.new(shape: String, location_name: "PolicyStatus"))
|
2654
|
+
ParameterInlinePolicy.struct_class = Types::ParameterInlinePolicy
|
2655
|
+
|
2641
2656
|
ParameterLabelList.member = Shapes::ShapeRef.new(shape: ParameterLabel)
|
2642
2657
|
|
2643
2658
|
ParameterList.member = Shapes::ShapeRef.new(shape: Parameter)
|
@@ -2650,12 +2665,16 @@ module Aws::SSM
|
|
2650
2665
|
ParameterMetadata.add_member(:description, Shapes::ShapeRef.new(shape: ParameterDescription, location_name: "Description"))
|
2651
2666
|
ParameterMetadata.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
2652
2667
|
ParameterMetadata.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
2668
|
+
ParameterMetadata.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
2669
|
+
ParameterMetadata.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicyList, location_name: "Policies"))
|
2653
2670
|
ParameterMetadata.struct_class = Types::ParameterMetadata
|
2654
2671
|
|
2655
2672
|
ParameterMetadataList.member = Shapes::ShapeRef.new(shape: ParameterMetadata)
|
2656
2673
|
|
2657
2674
|
ParameterNameList.member = Shapes::ShapeRef.new(shape: PSParameterName)
|
2658
2675
|
|
2676
|
+
ParameterPolicyList.member = Shapes::ShapeRef.new(shape: ParameterInlinePolicy)
|
2677
|
+
|
2659
2678
|
ParameterStringFilter.add_member(:key, Shapes::ShapeRef.new(shape: ParameterStringFilterKey, required: true, location_name: "Key"))
|
2660
2679
|
ParameterStringFilter.add_member(:option, Shapes::ShapeRef.new(shape: ParameterStringQueryOption, location_name: "Option"))
|
2661
2680
|
ParameterStringFilter.add_member(:values, Shapes::ShapeRef.new(shape: ParameterStringFilterValueList, location_name: "Values"))
|
@@ -2802,6 +2821,8 @@ module Aws::SSM
|
|
2802
2821
|
PutParameterRequest.add_member(:overwrite, Shapes::ShapeRef.new(shape: Boolean, location_name: "Overwrite", metadata: {"box"=>true}))
|
2803
2822
|
PutParameterRequest.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: AllowedPattern, location_name: "AllowedPattern"))
|
2804
2823
|
PutParameterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2824
|
+
PutParameterRequest.add_member(:tier, Shapes::ShapeRef.new(shape: ParameterTier, location_name: "Tier"))
|
2825
|
+
PutParameterRequest.add_member(:policies, Shapes::ShapeRef.new(shape: ParameterPolicies, location_name: "Policies"))
|
2805
2826
|
PutParameterRequest.struct_class = Types::PutParameterRequest
|
2806
2827
|
|
2807
2828
|
PutParameterResult.add_member(:version, Shapes::ShapeRef.new(shape: PSParameterVersion, location_name: "Version"))
|
@@ -4374,6 +4395,10 @@ module Aws::SSM
|
|
4374
4395
|
o.errors << Shapes::ShapeRef.new(shape: ParameterMaxVersionLimitExceeded)
|
4375
4396
|
o.errors << Shapes::ShapeRef.new(shape: ParameterPatternMismatchException)
|
4376
4397
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedParameterType)
|
4398
|
+
o.errors << Shapes::ShapeRef.new(shape: PoliciesLimitExceededException)
|
4399
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyTypeException)
|
4400
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyAttributeException)
|
4401
|
+
o.errors << Shapes::ShapeRef.new(shape: IncompatiblePolicyException)
|
4377
4402
|
end)
|
4378
4403
|
|
4379
4404
|
api.add_operation(:register_default_patch_baseline, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -348,9 +348,7 @@ module Aws::SSM
|
|
348
348
|
# @return [String]
|
349
349
|
#
|
350
350
|
# @!attribute [rw] execution_id
|
351
|
-
# The execution ID for the association.
|
352
|
-
# run at intervals or according to a schedule, then the ExecutionID is
|
353
|
-
# the same as the AssociationID.
|
351
|
+
# The execution ID for the association.
|
354
352
|
# @return [String]
|
355
353
|
#
|
356
354
|
# @!attribute [rw] status
|
@@ -431,9 +429,7 @@ module Aws::SSM
|
|
431
429
|
# @return [String]
|
432
430
|
#
|
433
431
|
# @!attribute [rw] execution_id
|
434
|
-
# The execution ID.
|
435
|
-
# according to a schedule, then the ExecutionID is the same as the
|
436
|
-
# AssociationID.
|
432
|
+
# The execution ID.
|
437
433
|
# @return [String]
|
438
434
|
#
|
439
435
|
# @!attribute [rw] resource_id
|
@@ -2357,7 +2353,7 @@ module Aws::SSM
|
|
2357
2353
|
# @return [String]
|
2358
2354
|
#
|
2359
2355
|
# @!attribute [rw] parameters
|
2360
|
-
# The parameters for the
|
2356
|
+
# The parameters for the runtime configuration of the document.
|
2361
2357
|
# @return [Hash<String,Array<String>>]
|
2362
2358
|
#
|
2363
2359
|
# @!attribute [rw] targets
|
@@ -2785,7 +2781,7 @@ module Aws::SSM
|
|
2785
2781
|
#
|
2786
2782
|
#
|
2787
2783
|
#
|
2788
|
-
# [1]:
|
2784
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
2789
2785
|
# @return [Array<String>]
|
2790
2786
|
#
|
2791
2787
|
# @!attribute [rw] approved_patches_compliance_level
|
@@ -2809,7 +2805,7 @@ module Aws::SSM
|
|
2809
2805
|
#
|
2810
2806
|
#
|
2811
2807
|
#
|
2812
|
-
# [1]:
|
2808
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
2813
2809
|
# @return [Array<String>]
|
2814
2810
|
#
|
2815
2811
|
# @!attribute [rw] rejected_patches_action
|
@@ -9516,7 +9512,7 @@ module Aws::SSM
|
|
9516
9512
|
# The target registered with the Maintenance Window.
|
9517
9513
|
#
|
9518
9514
|
# @!attribute [rw] window_id
|
9519
|
-
# The Maintenance Window
|
9515
|
+
# The ID of the Maintenance Window to register the target with.
|
9520
9516
|
# @return [String]
|
9521
9517
|
#
|
9522
9518
|
# @!attribute [rw] window_target_id
|
@@ -9524,20 +9520,26 @@ module Aws::SSM
|
|
9524
9520
|
# @return [String]
|
9525
9521
|
#
|
9526
9522
|
# @!attribute [rw] resource_type
|
9527
|
-
# The type of target
|
9523
|
+
# The type of target that is being registered with the Maintenance
|
9524
|
+
# Window.
|
9528
9525
|
# @return [String]
|
9529
9526
|
#
|
9530
9527
|
# @!attribute [rw] targets
|
9531
|
-
# The targets
|
9532
|
-
#
|
9533
|
-
#
|
9534
|
-
#
|
9528
|
+
# The targets, either instances or tags.
|
9529
|
+
#
|
9530
|
+
# Specify instances using the following format:
|
9531
|
+
#
|
9532
|
+
# `Key=instanceids,Values=<instanceid1>,<instanceid2>`
|
9533
|
+
#
|
9534
|
+
# Tags are specified using the following format:
|
9535
|
+
#
|
9536
|
+
# `Key=<tag name>,Values=<tag value>`.
|
9535
9537
|
# @return [Array<Types::Target>]
|
9536
9538
|
#
|
9537
9539
|
# @!attribute [rw] owner_information
|
9538
|
-
#
|
9539
|
-
# raised while running tasks for these targets in this
|
9540
|
-
# Window.
|
9540
|
+
# A user-provided value that will be included in any CloudWatch events
|
9541
|
+
# that are raised while running tasks for these targets in this
|
9542
|
+
# Maintenance Window.
|
9541
9543
|
# @return [String]
|
9542
9544
|
#
|
9543
9545
|
# @!attribute [rw] name
|
@@ -9545,7 +9547,7 @@ module Aws::SSM
|
|
9545
9547
|
# @return [String]
|
9546
9548
|
#
|
9547
9549
|
# @!attribute [rw] description
|
9548
|
-
# A description
|
9550
|
+
# A description for the target.
|
9549
9551
|
# @return [String]
|
9550
9552
|
#
|
9551
9553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTarget AWS API Documentation
|
@@ -9564,7 +9566,7 @@ module Aws::SSM
|
|
9564
9566
|
# Information about a task defined for a Maintenance Window.
|
9565
9567
|
#
|
9566
9568
|
# @!attribute [rw] window_id
|
9567
|
-
# The Maintenance Window
|
9569
|
+
# The ID of the Maintenance Window where the task is registered.
|
9568
9570
|
# @return [String]
|
9569
9571
|
#
|
9570
9572
|
# @!attribute [rw] window_task_id
|
@@ -9626,7 +9628,7 @@ module Aws::SSM
|
|
9626
9628
|
# @return [String]
|
9627
9629
|
#
|
9628
9630
|
# @!attribute [rw] max_concurrency
|
9629
|
-
# The maximum number of targets this task can be run for in parallel.
|
9631
|
+
# The maximum number of targets this task can be run for, in parallel.
|
9630
9632
|
# @return [String]
|
9631
9633
|
#
|
9632
9634
|
# @!attribute [rw] max_errors
|
@@ -9982,6 +9984,14 @@ module Aws::SSM
|
|
9982
9984
|
# Labels assigned to the parameter version.
|
9983
9985
|
# @return [Array<String>]
|
9984
9986
|
#
|
9987
|
+
# @!attribute [rw] tier
|
9988
|
+
# The parameter tier.
|
9989
|
+
# @return [String]
|
9990
|
+
#
|
9991
|
+
# @!attribute [rw] policies
|
9992
|
+
# Information about the policies assigned to a parameter.
|
9993
|
+
# @return [Array<Types::ParameterInlinePolicy>]
|
9994
|
+
#
|
9985
9995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory AWS API Documentation
|
9986
9996
|
#
|
9987
9997
|
class ParameterHistory < Struct.new(
|
@@ -9994,7 +10004,36 @@ module Aws::SSM
|
|
9994
10004
|
:value,
|
9995
10005
|
:allowed_pattern,
|
9996
10006
|
:version,
|
9997
|
-
:labels
|
10007
|
+
:labels,
|
10008
|
+
:tier,
|
10009
|
+
:policies)
|
10010
|
+
include Aws::Structure
|
10011
|
+
end
|
10012
|
+
|
10013
|
+
# One or more policies assigned to a parameter.
|
10014
|
+
#
|
10015
|
+
# @!attribute [rw] policy_text
|
10016
|
+
# The JSON text of the policy.
|
10017
|
+
# @return [String]
|
10018
|
+
#
|
10019
|
+
# @!attribute [rw] policy_type
|
10020
|
+
# The type of policy. Parameter Store supports the following policy
|
10021
|
+
# types: Expiration, ExpirationNotification, and NoChangeNotification.
|
10022
|
+
# @return [String]
|
10023
|
+
#
|
10024
|
+
# @!attribute [rw] policy_status
|
10025
|
+
# The status of the policy. Policies report the following statuses:
|
10026
|
+
# Pending (the policy has not been enforced or applied yet), Finished
|
10027
|
+
# (the policy was applied), Failed (the policy was not applied), or
|
10028
|
+
# InProgress (the policy is being applied now).
|
10029
|
+
# @return [String]
|
10030
|
+
#
|
10031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterInlinePolicy AWS API Documentation
|
10032
|
+
#
|
10033
|
+
class ParameterInlinePolicy < Struct.new(
|
10034
|
+
:policy_text,
|
10035
|
+
:policy_type,
|
10036
|
+
:policy_status)
|
9998
10037
|
include Aws::Structure
|
9999
10038
|
end
|
10000
10039
|
|
@@ -10037,6 +10076,14 @@ module Aws::SSM
|
|
10037
10076
|
# The parameter version.
|
10038
10077
|
# @return [Integer]
|
10039
10078
|
#
|
10079
|
+
# @!attribute [rw] tier
|
10080
|
+
# The parameter tier.
|
10081
|
+
# @return [String]
|
10082
|
+
#
|
10083
|
+
# @!attribute [rw] policies
|
10084
|
+
# A list of policies associated with a parameter.
|
10085
|
+
# @return [Array<Types::ParameterInlinePolicy>]
|
10086
|
+
#
|
10040
10087
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata AWS API Documentation
|
10041
10088
|
#
|
10042
10089
|
class ParameterMetadata < Struct.new(
|
@@ -10047,15 +10094,18 @@ module Aws::SSM
|
|
10047
10094
|
:last_modified_user,
|
10048
10095
|
:description,
|
10049
10096
|
:allowed_pattern,
|
10050
|
-
:version
|
10097
|
+
:version,
|
10098
|
+
:tier,
|
10099
|
+
:policies)
|
10051
10100
|
include Aws::Structure
|
10052
10101
|
end
|
10053
10102
|
|
10054
10103
|
# One or more filters. Use a filter to return a more specific list of
|
10055
10104
|
# results.
|
10056
10105
|
#
|
10057
|
-
# <note markdown="1"> The `Name`
|
10058
|
-
# action.
|
10106
|
+
# <note markdown="1"> The `Name` and `Tier` filter keys can't be used with the
|
10107
|
+
# GetParametersByPath API action. Also, the `Label` filter key can't be
|
10108
|
+
# used with the DescribeParameters API action.
|
10059
10109
|
#
|
10060
10110
|
# </note>
|
10061
10111
|
#
|
@@ -11151,6 +11201,8 @@ module Aws::SSM
|
|
11151
11201
|
# value: "TagValue", # required
|
11152
11202
|
# },
|
11153
11203
|
# ],
|
11204
|
+
# tier: "Standard", # accepts Standard, Advanced
|
11205
|
+
# policies: "ParameterPolicies",
|
11154
11206
|
# }
|
11155
11207
|
#
|
11156
11208
|
# @!attribute [rw] name
|
@@ -11200,7 +11252,9 @@ module Aws::SSM
|
|
11200
11252
|
# @return [String]
|
11201
11253
|
#
|
11202
11254
|
# @!attribute [rw] value
|
11203
|
-
# The parameter value that you want to add to the system.
|
11255
|
+
# The parameter value that you want to add to the system. Standard
|
11256
|
+
# parameters have a value limit of 4 KB. Advanced parameters have a
|
11257
|
+
# value limit of 8 KB.
|
11204
11258
|
# @return [String]
|
11205
11259
|
#
|
11206
11260
|
# @!attribute [rw] type
|
@@ -11267,6 +11321,69 @@ module Aws::SSM
|
|
11267
11321
|
# </note>
|
11268
11322
|
# @return [Array<Types::Tag>]
|
11269
11323
|
#
|
11324
|
+
# @!attribute [rw] tier
|
11325
|
+
# Parameter Store offers a standard tier and an advanced tier for
|
11326
|
+
# parameters. Standard parameters have a value limit of 4 KB and
|
11327
|
+
# can't be configured to use parameter policies. You can create a
|
11328
|
+
# maximum of 10,000 standard parameters per account and per Region.
|
11329
|
+
# Standard parameters are offered at no additional cost.
|
11330
|
+
#
|
11331
|
+
# Advanced parameters have a value limit of 8 KB and can be configured
|
11332
|
+
# to use parameter policies. You can create a maximum of 100,000
|
11333
|
+
# advanced parameters per account and per Region. Advanced parameters
|
11334
|
+
# incur a charge.
|
11335
|
+
#
|
11336
|
+
# If you don't specify a parameter tier when you create a new
|
11337
|
+
# parameter, the parameter defaults to using the standard tier. You
|
11338
|
+
# can change a standard parameter to an advanced parameter at any
|
11339
|
+
# time. But you can't revert an advanced parameter to a standard
|
11340
|
+
# parameter. Reverting an advanced parameter to a standard parameter
|
11341
|
+
# would result in data loss because the system would truncate the size
|
11342
|
+
# of the parameter from 8 KB to 4 KB. Reverting would also remove any
|
11343
|
+
# policies attached to the parameter. Lastly, advanced parameters use
|
11344
|
+
# a different form of encryption than standard parameters.
|
11345
|
+
#
|
11346
|
+
# If you no longer need an advanced parameter, or if you no longer
|
11347
|
+
# want to incur charges for an advanced parameter, you must delete it
|
11348
|
+
# and recreate it as a new standard parameter. For more information,
|
11349
|
+
# see [About Advanced Parameters][1] in the *AWS Systems Manager User
|
11350
|
+
# Guide*.
|
11351
|
+
#
|
11352
|
+
#
|
11353
|
+
#
|
11354
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-advanced-parameters.html
|
11355
|
+
# @return [String]
|
11356
|
+
#
|
11357
|
+
# @!attribute [rw] policies
|
11358
|
+
# One or more policies to apply to a parameter. This action takes a
|
11359
|
+
# JSON array. Parameter Store supports the following policy types:
|
11360
|
+
#
|
11361
|
+
# Expiration: This policy deletes the parameter after it expires. When
|
11362
|
+
# you create the policy, you specify the expiration date. You can
|
11363
|
+
# update the expiration date and time by updating the policy. Updating
|
11364
|
+
# the *parameter* does not affect the expiration date and time. When
|
11365
|
+
# the expiration time is reached, Parameter Store deletes the
|
11366
|
+
# parameter.
|
11367
|
+
#
|
11368
|
+
# ExpirationNotification: This policy triggers an event in Amazon
|
11369
|
+
# CloudWatch Events that notifies you about the expiration. By using
|
11370
|
+
# this policy, you can receive notification before or after the
|
11371
|
+
# expiration time is reached, in units of days or hours.
|
11372
|
+
#
|
11373
|
+
# NoChangeNotification: This policy triggers a CloudWatch event if a
|
11374
|
+
# parameter has not been modified for a specified period of time. This
|
11375
|
+
# policy type is useful when, for example, a secret needs to be
|
11376
|
+
# changed within a period of time, but it has not been changed.
|
11377
|
+
#
|
11378
|
+
# All existing policies are preserved until you send new policies or
|
11379
|
+
# an empty policy. For more information about parameter policies, see
|
11380
|
+
# [Working with Parameter Policies][1].
|
11381
|
+
#
|
11382
|
+
#
|
11383
|
+
#
|
11384
|
+
# [1]: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-policies.html
|
11385
|
+
# @return [String]
|
11386
|
+
#
|
11270
11387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterRequest AWS API Documentation
|
11271
11388
|
#
|
11272
11389
|
class PutParameterRequest < Struct.new(
|
@@ -11277,7 +11394,9 @@ module Aws::SSM
|
|
11277
11394
|
:key_id,
|
11278
11395
|
:overwrite,
|
11279
11396
|
:allowed_pattern,
|
11280
|
-
:tags
|
11397
|
+
:tags,
|
11398
|
+
:tier,
|
11399
|
+
:policies)
|
11281
11400
|
include Aws::Structure
|
11282
11401
|
end
|
11283
11402
|
|
@@ -13024,28 +13143,29 @@ module Aws::SSM
|
|
13024
13143
|
#
|
13025
13144
|
# @!attribute [rw] key
|
13026
13145
|
# User-defined criteria for sending commands that target instances
|
13027
|
-
# that meet the criteria. Key can be tag
|
13028
|
-
# InstanceIds
|
13029
|
-
# target instances using Key,Value parameters, see [
|
13030
|
-
#
|
13146
|
+
# that meet the criteria. `Key` can be `tag:<Amazon EC2 tag>` or
|
13147
|
+
# `InstanceIds`. For more information about how to send commands that
|
13148
|
+
# target instances using `Key,Value` parameters, see [Using Targets
|
13149
|
+
# and Rate Controls to Send Commands to a Fleet][1] in the *AWS
|
13150
|
+
# Systems Manager User Guide*.
|
13031
13151
|
#
|
13032
13152
|
#
|
13033
13153
|
#
|
13034
|
-
# [1]:
|
13154
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting
|
13035
13155
|
# @return [String]
|
13036
13156
|
#
|
13037
13157
|
# @!attribute [rw] values
|
13038
|
-
# User-defined criteria that maps to Key
|
13039
|
-
# specified tag:ServerRole
|
13040
|
-
# command on instances that include Amazon EC2 tags of
|
13041
|
-
# ServerRole,WebServer
|
13042
|
-
# commands that target instances using Key,Value parameters, see
|
13043
|
-
# [
|
13044
|
-
# Guide*.
|
13158
|
+
# User-defined criteria that maps to `Key`. For example, if you
|
13159
|
+
# specified `tag:ServerRole`, you could specify `value:WebServer` to
|
13160
|
+
# run a command on instances that include Amazon EC2 tags of
|
13161
|
+
# `ServerRole,WebServer`. For more information about how to send
|
13162
|
+
# commands that target instances using `Key,Value` parameters, see
|
13163
|
+
# [Using Targets and Rate Controls to Send Commands to a Fleet][1] in
|
13164
|
+
# the *AWS Systems Manager User Guide*.
|
13045
13165
|
#
|
13046
13166
|
#
|
13047
13167
|
#
|
13048
|
-
# [1]:
|
13168
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
13049
13169
|
# @return [Array<String>]
|
13050
13170
|
#
|
13051
13171
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target AWS API Documentation
|
@@ -14127,7 +14247,7 @@ module Aws::SSM
|
|
14127
14247
|
#
|
14128
14248
|
#
|
14129
14249
|
#
|
14130
|
-
# [1]:
|
14250
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
14131
14251
|
# @return [Array<String>]
|
14132
14252
|
#
|
14133
14253
|
# @!attribute [rw] approved_patches_compliance_level
|
@@ -14150,7 +14270,7 @@ module Aws::SSM
|
|
14150
14270
|
#
|
14151
14271
|
#
|
14152
14272
|
#
|
14153
|
-
# [1]:
|
14273
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
14154
14274
|
# @return [Array<String>]
|
14155
14275
|
#
|
14156
14276
|
# @!attribute [rw] rejected_patches_action
|
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.43.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: 2019-04-
|
11
|
+
date: 2019-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- lib/aws-sdk-ssm/errors.rb
|
60
60
|
- lib/aws-sdk-ssm/resource.rb
|
61
61
|
- lib/aws-sdk-ssm/types.rb
|
62
|
-
homepage:
|
62
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
63
63
|
licenses:
|
64
64
|
- Apache-2.0
|
65
65
|
metadata:
|