aws-sdk-ssm 1.101.0 → 1.102.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 +40 -10
- data/lib/aws-sdk-ssm/client_api.rb +6 -0
- data/lib/aws-sdk-ssm/types.rb +62 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a95c41aa2032ee33398423c9b154cf5416bfc31978988e45727831fa200bdb
|
4
|
+
data.tar.gz: 2bc8a5b554eaf0e663a9ca7faa9fa07359026f5cc574d73d6f206e6ee9e8b5e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1c7af8640342cc5fe822baefc9e9dda629e4ee37d348488c9234fb0dd2de6e06871d143fb791a570573fa77b3aa67dd47c55159efa738464e910e5e05195a50
|
7
|
+
data.tar.gz: e5f4ef1445c2215127d13be942fb55c5cc15700187fa9cdd21ae35c949f38ec414eeb466d885e58a67bb8340ff6663edef700db80f060453b8bc87b3eba4b10a
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -2941,16 +2941,28 @@ module Aws::SSM
|
|
2941
2941
|
# The permission type for the document. The permission type can be
|
2942
2942
|
# *Share*.
|
2943
2943
|
#
|
2944
|
+
# @option params [Integer] :max_results
|
2945
|
+
# The maximum number of items to return for this call. The call also
|
2946
|
+
# returns a token that you can specify in a subsequent call to get the
|
2947
|
+
# next set of results.
|
2948
|
+
#
|
2949
|
+
# @option params [String] :next_token
|
2950
|
+
# The token for the next set of items to return. (You received this
|
2951
|
+
# token from a previous call.)
|
2952
|
+
#
|
2944
2953
|
# @return [Types::DescribeDocumentPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2945
2954
|
#
|
2946
2955
|
# * {Types::DescribeDocumentPermissionResponse#account_ids #account_ids} => Array<String>
|
2947
2956
|
# * {Types::DescribeDocumentPermissionResponse#account_sharing_info_list #account_sharing_info_list} => Array<Types::AccountSharingInfo>
|
2957
|
+
# * {Types::DescribeDocumentPermissionResponse#next_token #next_token} => String
|
2948
2958
|
#
|
2949
2959
|
# @example Request syntax with placeholder values
|
2950
2960
|
#
|
2951
2961
|
# resp = client.describe_document_permission({
|
2952
2962
|
# name: "DocumentName", # required
|
2953
2963
|
# permission_type: "Share", # required, accepts Share
|
2964
|
+
# max_results: 1,
|
2965
|
+
# next_token: "NextToken",
|
2954
2966
|
# })
|
2955
2967
|
#
|
2956
2968
|
# @example Response structure
|
@@ -2960,6 +2972,7 @@ module Aws::SSM
|
|
2960
2972
|
# resp.account_sharing_info_list #=> Array
|
2961
2973
|
# resp.account_sharing_info_list[0].account_id #=> String
|
2962
2974
|
# resp.account_sharing_info_list[0].shared_document_version #=> String
|
2975
|
+
# resp.next_token #=> String
|
2963
2976
|
#
|
2964
2977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission AWS API Documentation
|
2965
2978
|
#
|
@@ -5911,9 +5924,11 @@ module Aws::SSM
|
|
5911
5924
|
#
|
5912
5925
|
# @option params [required, String] :path
|
5913
5926
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
5914
|
-
# slash (/)
|
5915
|
-
#
|
5916
|
-
#
|
5927
|
+
# slash (/). The hierachy is the parameter name except the last part of
|
5928
|
+
# the parameter. For the API call to succeeed, the last part of the
|
5929
|
+
# parameter name cannot be in the path. A parameter name hierarchy can
|
5930
|
+
# have a maximum of 15 levels. Here is an example of a hierarchy:
|
5931
|
+
# `/Finance/Prod/IAD/WinServ2016/license33 `
|
5917
5932
|
#
|
5918
5933
|
# @option params [Boolean] :recursive
|
5919
5934
|
# Retrieve all parameters within a hierarchy.
|
@@ -7981,7 +7996,7 @@ module Aws::SSM
|
|
7981
7996
|
# Command-type tasks. Depending on the task, targets are optional for
|
7982
7997
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
7983
7998
|
# Step Functions). For more information about running tasks that do not
|
7984
|
-
# specify targets, see
|
7999
|
+
# specify targets, see [Registering maintenance window tasks without
|
7985
8000
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
7986
8001
|
#
|
7987
8002
|
# </note>
|
@@ -8413,8 +8428,15 @@ module Aws::SSM
|
|
8413
8428
|
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html
|
8414
8429
|
#
|
8415
8430
|
# @option params [required, String] :document_name
|
8416
|
-
#
|
8417
|
-
# a
|
8431
|
+
# The name of the Systems Manager document to run. This can be a public
|
8432
|
+
# document or a custom document. To run a shared document belonging to
|
8433
|
+
# another account, specify the document ARN. For more information about
|
8434
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8435
|
+
# the *AWS Systems Manager User Guide*.
|
8436
|
+
#
|
8437
|
+
#
|
8438
|
+
#
|
8439
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
8418
8440
|
#
|
8419
8441
|
# @option params [String] :document_version
|
8420
8442
|
# The SSM document version to use in the request. You can specify
|
@@ -8617,7 +8639,15 @@ module Aws::SSM
|
|
8617
8639
|
# Initiates execution of an Automation document.
|
8618
8640
|
#
|
8619
8641
|
# @option params [required, String] :document_name
|
8620
|
-
# The name of the
|
8642
|
+
# The name of the Systems Manager document to run. This can be a public
|
8643
|
+
# document or a custom document. To run a shared document belonging to
|
8644
|
+
# another account, specify the document ARN. For more information about
|
8645
|
+
# how to use shared documents, see [Using shared SSM documents][1] in
|
8646
|
+
# the *AWS Systems Manager User Guide*.
|
8647
|
+
#
|
8648
|
+
#
|
8649
|
+
#
|
8650
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
8621
8651
|
#
|
8622
8652
|
# @option params [String] :document_version
|
8623
8653
|
# The version of the Automation document to use for this execution.
|
@@ -9749,7 +9779,7 @@ module Aws::SSM
|
|
9749
9779
|
# Command-type tasks. Depending on the task, targets are optional for
|
9750
9780
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9751
9781
|
# Step Functions). For more information about running tasks that do not
|
9752
|
-
# specify targets, see
|
9782
|
+
# specify targets, see [Registering maintenance window tasks without
|
9753
9783
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
9754
9784
|
#
|
9755
9785
|
# </note>
|
@@ -9789,7 +9819,7 @@ module Aws::SSM
|
|
9789
9819
|
# Command-type tasks. Depending on the task, targets are optional for
|
9790
9820
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
9791
9821
|
# Step Functions). For more information about running tasks that do not
|
9792
|
-
# specify targets, see
|
9822
|
+
# specify targets, see [Registering maintenance window tasks without
|
9793
9823
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
9794
9824
|
#
|
9795
9825
|
# </note>
|
@@ -10592,7 +10622,7 @@ module Aws::SSM
|
|
10592
10622
|
params: params,
|
10593
10623
|
config: config)
|
10594
10624
|
context[:gem_name] = 'aws-sdk-ssm'
|
10595
|
-
context[:gem_version] = '1.
|
10625
|
+
context[:gem_version] = '1.102.0'
|
10596
10626
|
Seahorse::Client::Request.new(handlers, context)
|
10597
10627
|
end
|
10598
10628
|
|
@@ -337,6 +337,7 @@ module Aws::SSM
|
|
337
337
|
DocumentParameterName = Shapes::StringShape.new(name: 'DocumentParameterName')
|
338
338
|
DocumentParameterType = Shapes::StringShape.new(name: 'DocumentParameterType')
|
339
339
|
DocumentPermissionLimit = Shapes::StructureShape.new(name: 'DocumentPermissionLimit')
|
340
|
+
DocumentPermissionMaxResults = Shapes::IntegerShape.new(name: 'DocumentPermissionMaxResults')
|
340
341
|
DocumentPermissionType = Shapes::StringShape.new(name: 'DocumentPermissionType')
|
341
342
|
DocumentRequires = Shapes::StructureShape.new(name: 'DocumentRequires')
|
342
343
|
DocumentRequiresList = Shapes::ListShape.new(name: 'DocumentRequiresList')
|
@@ -1878,10 +1879,13 @@ module Aws::SSM
|
|
1878
1879
|
|
1879
1880
|
DescribeDocumentPermissionRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
|
1880
1881
|
DescribeDocumentPermissionRequest.add_member(:permission_type, Shapes::ShapeRef.new(shape: DocumentPermissionType, required: true, location_name: "PermissionType"))
|
1882
|
+
DescribeDocumentPermissionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DocumentPermissionMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1883
|
+
DescribeDocumentPermissionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1881
1884
|
DescribeDocumentPermissionRequest.struct_class = Types::DescribeDocumentPermissionRequest
|
1882
1885
|
|
1883
1886
|
DescribeDocumentPermissionResponse.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIds"))
|
1884
1887
|
DescribeDocumentPermissionResponse.add_member(:account_sharing_info_list, Shapes::ShapeRef.new(shape: AccountSharingInfoList, location_name: "AccountSharingInfoList"))
|
1888
|
+
DescribeDocumentPermissionResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1885
1889
|
DescribeDocumentPermissionResponse.struct_class = Types::DescribeDocumentPermissionResponse
|
1886
1890
|
|
1887
1891
|
DescribeDocumentRequest.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, required: true, location_name: "Name"))
|
@@ -4842,7 +4846,9 @@ module Aws::SSM
|
|
4842
4846
|
o.output = Shapes::ShapeRef.new(shape: DescribeDocumentPermissionResponse)
|
4843
4847
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
4844
4848
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDocument)
|
4849
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
4845
4850
|
o.errors << Shapes::ShapeRef.new(shape: InvalidPermissionType)
|
4851
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDocumentOperation)
|
4846
4852
|
end)
|
4847
4853
|
|
4848
4854
|
api.add_operation(:describe_effective_instance_associations, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1219,10 +1219,7 @@ module Aws::SSM
|
|
1219
1219
|
# }
|
1220
1220
|
#
|
1221
1221
|
# @!attribute [rw] key
|
1222
|
-
# One or more keys to limit the results.
|
1223
|
-
# following: DocumentNamePrefix, ExecutionStatus, ExecutionId,
|
1224
|
-
# ParentExecutionId, CurrentAction, StartTimeBefore, StartTimeAfter,
|
1225
|
-
# TargetResourceGroup.
|
1222
|
+
# One or more keys to limit the results.
|
1226
1223
|
# @return [String]
|
1227
1224
|
#
|
1228
1225
|
# @!attribute [rw] values
|
@@ -4822,6 +4819,8 @@ module Aws::SSM
|
|
4822
4819
|
# {
|
4823
4820
|
# name: "DocumentName", # required
|
4824
4821
|
# permission_type: "Share", # required, accepts Share
|
4822
|
+
# max_results: 1,
|
4823
|
+
# next_token: "NextToken",
|
4825
4824
|
# }
|
4826
4825
|
#
|
4827
4826
|
# @!attribute [rw] name
|
@@ -4833,11 +4832,24 @@ module Aws::SSM
|
|
4833
4832
|
# *Share*.
|
4834
4833
|
# @return [String]
|
4835
4834
|
#
|
4835
|
+
# @!attribute [rw] max_results
|
4836
|
+
# The maximum number of items to return for this call. The call also
|
4837
|
+
# returns a token that you can specify in a subsequent call to get the
|
4838
|
+
# next set of results.
|
4839
|
+
# @return [Integer]
|
4840
|
+
#
|
4841
|
+
# @!attribute [rw] next_token
|
4842
|
+
# The token for the next set of items to return. (You received this
|
4843
|
+
# token from a previous call.)
|
4844
|
+
# @return [String]
|
4845
|
+
#
|
4836
4846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionRequest AWS API Documentation
|
4837
4847
|
#
|
4838
4848
|
class DescribeDocumentPermissionRequest < Struct.new(
|
4839
4849
|
:name,
|
4840
|
-
:permission_type
|
4850
|
+
:permission_type,
|
4851
|
+
:max_results,
|
4852
|
+
:next_token)
|
4841
4853
|
SENSITIVE = []
|
4842
4854
|
include Aws::Structure
|
4843
4855
|
end
|
@@ -4852,11 +4864,17 @@ module Aws::SSM
|
|
4852
4864
|
# version shared with each account.
|
4853
4865
|
# @return [Array<Types::AccountSharingInfo>]
|
4854
4866
|
#
|
4867
|
+
# @!attribute [rw] next_token
|
4868
|
+
# The token for the next set of items to return. Use this token to get
|
4869
|
+
# the next set of results.
|
4870
|
+
# @return [String]
|
4871
|
+
#
|
4855
4872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse AWS API Documentation
|
4856
4873
|
#
|
4857
4874
|
class DescribeDocumentPermissionResponse < Struct.new(
|
4858
4875
|
:account_ids,
|
4859
|
-
:account_sharing_info_list
|
4876
|
+
:account_sharing_info_list,
|
4877
|
+
:next_token)
|
4860
4878
|
SENSITIVE = []
|
4861
4879
|
include Aws::Structure
|
4862
4880
|
end
|
@@ -8917,9 +8935,11 @@ module Aws::SSM
|
|
8917
8935
|
#
|
8918
8936
|
# @!attribute [rw] path
|
8919
8937
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
8920
|
-
# slash (/)
|
8921
|
-
#
|
8922
|
-
# hierarchy
|
8938
|
+
# slash (/). The hierachy is the parameter name except the last part
|
8939
|
+
# of the parameter. For the API call to succeeed, the last part of the
|
8940
|
+
# parameter name cannot be in the path. A parameter name hierarchy can
|
8941
|
+
# have a maximum of 15 levels. Here is an example of a hierarchy:
|
8942
|
+
# `/Finance/Prod/IAD/WinServ2016/license33 `
|
8923
8943
|
# @return [String]
|
8924
8944
|
#
|
8925
8945
|
# @!attribute [rw] recursive
|
@@ -14877,11 +14897,20 @@ module Aws::SSM
|
|
14877
14897
|
#
|
14878
14898
|
# `[main]`
|
14879
14899
|
#
|
14880
|
-
# `
|
14900
|
+
# `name=MyCustomRepository`
|
14881
14901
|
#
|
14882
|
-
# `
|
14902
|
+
# `baseurl=https://my-custom-repository`
|
14903
|
+
#
|
14904
|
+
# `enabled=1`
|
14905
|
+
#
|
14906
|
+
# <note markdown="1"> For information about other options available for your yum
|
14907
|
+
# repository configuration, see [dnf.conf(5)][1].
|
14908
|
+
#
|
14909
|
+
# </note>
|
14883
14910
|
#
|
14884
|
-
#
|
14911
|
+
#
|
14912
|
+
#
|
14913
|
+
# [1]: https://man7.org/linux/man-pages/man5/dnf.conf.5.html
|
14885
14914
|
# @return [String]
|
14886
14915
|
#
|
14887
14916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchSource AWS API Documentation
|
@@ -15722,7 +15751,7 @@ module Aws::SSM
|
|
15722
15751
|
# Command-type tasks. Depending on the task, targets are optional for
|
15723
15752
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
15724
15753
|
# Step Functions). For more information about running tasks that do
|
15725
|
-
# not specify targets, see
|
15754
|
+
# not specify targets, see [Registering maintenance window tasks
|
15726
15755
|
# without targets][1] in the *AWS Systems Manager User Guide*.
|
15727
15756
|
#
|
15728
15757
|
# </note>
|
@@ -16908,8 +16937,15 @@ module Aws::SSM
|
|
16908
16937
|
# @return [Array<Types::Target>]
|
16909
16938
|
#
|
16910
16939
|
# @!attribute [rw] document_name
|
16911
|
-
#
|
16912
|
-
#
|
16940
|
+
# The name of the Systems Manager document to run. This can be a
|
16941
|
+
# public document or a custom document. To run a shared document
|
16942
|
+
# belonging to another account, specify the document ARN. For more
|
16943
|
+
# information about how to use shared documents, see [Using shared SSM
|
16944
|
+
# documents][1] in the *AWS Systems Manager User Guide*.
|
16945
|
+
#
|
16946
|
+
#
|
16947
|
+
#
|
16948
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
16913
16949
|
# @return [String]
|
16914
16950
|
#
|
16915
16951
|
# @!attribute [rw] document_version
|
@@ -17387,7 +17423,15 @@ module Aws::SSM
|
|
17387
17423
|
# }
|
17388
17424
|
#
|
17389
17425
|
# @!attribute [rw] document_name
|
17390
|
-
# The name of the
|
17426
|
+
# The name of the Systems Manager document to run. This can be a
|
17427
|
+
# public document or a custom document. To run a shared document
|
17428
|
+
# belonging to another account, specify the document ARN. For more
|
17429
|
+
# information about how to use shared documents, see [Using shared SSM
|
17430
|
+
# documents][1] in the *AWS Systems Manager User Guide*.
|
17431
|
+
#
|
17432
|
+
#
|
17433
|
+
#
|
17434
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-using-shared.html
|
17391
17435
|
# @return [String]
|
17392
17436
|
#
|
17393
17437
|
# @!attribute [rw] document_version
|
@@ -17971,7 +18015,7 @@ module Aws::SSM
|
|
17971
18015
|
# Command-type tasks. Depending on the task, targets are optional for
|
17972
18016
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
17973
18017
|
# Step Functions). For more information about running tasks that do not
|
17974
|
-
# specify targets, see
|
18018
|
+
# specify targets, see [Registering maintenance window tasks without
|
17975
18019
|
# targets][1] in the *AWS Systems Manager User Guide*.
|
17976
18020
|
#
|
17977
18021
|
# </note>
|
@@ -19154,7 +19198,7 @@ module Aws::SSM
|
|
19154
19198
|
# Command-type tasks. Depending on the task, targets are optional for
|
19155
19199
|
# other maintenance window task types (Automation, AWS Lambda, and AWS
|
19156
19200
|
# Step Functions). For more information about running tasks that do
|
19157
|
-
# not specify targets, see
|
19201
|
+
# not specify targets, see [Registering maintenance window tasks
|
19158
19202
|
# without targets][1] in the *AWS Systems Manager User Guide*.
|
19159
19203
|
#
|
19160
19204
|
# </note>
|
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.102.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:
|
11
|
+
date: 2021-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|