aws-sdk-ssm 1.192.0 → 1.194.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ssm/client.rb +94 -14
- data/lib/aws-sdk-ssm/client_api.rb +232 -155
- data/lib/aws-sdk-ssm/errors.rb +78 -0
- data/lib/aws-sdk-ssm/types.rb +173 -0
- data/lib/aws-sdk-ssm.rb +1 -1
- data/sig/client.rbs +38 -5
- data/sig/errors.rbs +15 -0
- data/sig/types.rbs +63 -11
- metadata +3 -6
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -27,6 +27,7 @@ module Aws::SSM
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
30
31
|
# * {AlreadyExistsException}
|
31
32
|
# * {AssociatedInstances}
|
32
33
|
# * {AssociationAlreadyExists}
|
@@ -145,11 +146,13 @@ module Aws::SSM
|
|
145
146
|
# * {ResourcePolicyInvalidParameterException}
|
146
147
|
# * {ResourcePolicyLimitExceededException}
|
147
148
|
# * {ResourcePolicyNotFoundException}
|
149
|
+
# * {ServiceQuotaExceededException}
|
148
150
|
# * {ServiceSettingNotFound}
|
149
151
|
# * {StatusUnchanged}
|
150
152
|
# * {SubTypeCountLimitExceededException}
|
151
153
|
# * {TargetInUseException}
|
152
154
|
# * {TargetNotConnected}
|
155
|
+
# * {ThrottlingException}
|
153
156
|
# * {TooManyTagsError}
|
154
157
|
# * {TooManyUpdates}
|
155
158
|
# * {TotalSizeLimitExceededException}
|
@@ -169,6 +172,21 @@ module Aws::SSM
|
|
169
172
|
|
170
173
|
extend Aws::Errors::DynamicErrors
|
171
174
|
|
175
|
+
class AccessDeniedException < ServiceError
|
176
|
+
|
177
|
+
# @param [Seahorse::Client::RequestContext] context
|
178
|
+
# @param [String] message
|
179
|
+
# @param [Aws::SSM::Types::AccessDeniedException] data
|
180
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
181
|
+
super(context, message, data)
|
182
|
+
end
|
183
|
+
|
184
|
+
# @return [String]
|
185
|
+
def message
|
186
|
+
@message || @data[:message]
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
172
190
|
class AlreadyExistsException < ServiceError
|
173
191
|
|
174
192
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -1954,6 +1972,41 @@ module Aws::SSM
|
|
1954
1972
|
end
|
1955
1973
|
end
|
1956
1974
|
|
1975
|
+
class ServiceQuotaExceededException < ServiceError
|
1976
|
+
|
1977
|
+
# @param [Seahorse::Client::RequestContext] context
|
1978
|
+
# @param [String] message
|
1979
|
+
# @param [Aws::SSM::Types::ServiceQuotaExceededException] data
|
1980
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
1981
|
+
super(context, message, data)
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# @return [String]
|
1985
|
+
def message
|
1986
|
+
@message || @data[:message]
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
# @return [String]
|
1990
|
+
def resource_id
|
1991
|
+
@data[:resource_id]
|
1992
|
+
end
|
1993
|
+
|
1994
|
+
# @return [String]
|
1995
|
+
def resource_type
|
1996
|
+
@data[:resource_type]
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
# @return [String]
|
2000
|
+
def quota_code
|
2001
|
+
@data[:quota_code]
|
2002
|
+
end
|
2003
|
+
|
2004
|
+
# @return [String]
|
2005
|
+
def service_code
|
2006
|
+
@data[:service_code]
|
2007
|
+
end
|
2008
|
+
end
|
2009
|
+
|
1957
2010
|
class ServiceSettingNotFound < ServiceError
|
1958
2011
|
|
1959
2012
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -2024,6 +2077,31 @@ module Aws::SSM
|
|
2024
2077
|
end
|
2025
2078
|
end
|
2026
2079
|
|
2080
|
+
class ThrottlingException < ServiceError
|
2081
|
+
|
2082
|
+
# @param [Seahorse::Client::RequestContext] context
|
2083
|
+
# @param [String] message
|
2084
|
+
# @param [Aws::SSM::Types::ThrottlingException] data
|
2085
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
2086
|
+
super(context, message, data)
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
# @return [String]
|
2090
|
+
def message
|
2091
|
+
@message || @data[:message]
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
# @return [String]
|
2095
|
+
def quota_code
|
2096
|
+
@data[:quota_code]
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
# @return [String]
|
2100
|
+
def service_code
|
2101
|
+
@data[:service_code]
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
2027
2105
|
class TooManyTagsError < ServiceError
|
2028
2106
|
|
2029
2107
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -10,6 +10,20 @@
|
|
10
10
|
module Aws::SSM
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# The requester doesn't have permissions to perform the requested
|
14
|
+
# operation.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] message
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AccessDeniedException AWS API Documentation
|
20
|
+
#
|
21
|
+
class AccessDeniedException < Struct.new(
|
22
|
+
:message)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
13
27
|
# Information includes the Amazon Web Services account ID where the
|
14
28
|
# current document is shared and the version shared with that account.
|
15
29
|
#
|
@@ -4185,6 +4199,38 @@ module Aws::SSM
|
|
4185
4199
|
#
|
4186
4200
|
class CreateResourceDataSyncResult < Aws::EmptyStructure; end
|
4187
4201
|
|
4202
|
+
# The temporary security credentials, which include an access key ID, a
|
4203
|
+
# secret access key, and a security (or session) token.
|
4204
|
+
#
|
4205
|
+
# @!attribute [rw] access_key_id
|
4206
|
+
# The access key ID that identifies the temporary security
|
4207
|
+
# credentials.
|
4208
|
+
# @return [String]
|
4209
|
+
#
|
4210
|
+
# @!attribute [rw] secret_access_key
|
4211
|
+
# The secret access key that can be used to sign requests.
|
4212
|
+
# @return [String]
|
4213
|
+
#
|
4214
|
+
# @!attribute [rw] session_token
|
4215
|
+
# The token that users must pass to the service API to use the
|
4216
|
+
# temporary credentials.
|
4217
|
+
# @return [String]
|
4218
|
+
#
|
4219
|
+
# @!attribute [rw] expiration_time
|
4220
|
+
# The datetime on which the current credentials expire.
|
4221
|
+
# @return [Time]
|
4222
|
+
#
|
4223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Credentials AWS API Documentation
|
4224
|
+
#
|
4225
|
+
class Credentials < Struct.new(
|
4226
|
+
:access_key_id,
|
4227
|
+
:secret_access_key,
|
4228
|
+
:session_token,
|
4229
|
+
:expiration_time)
|
4230
|
+
SENSITIVE = [:secret_access_key, :session_token]
|
4231
|
+
include Aws::Structure
|
4232
|
+
end
|
4233
|
+
|
4188
4234
|
# You have exceeded the limit for custom schemas. Delete one or more
|
4189
4235
|
# custom schemas and try again.
|
4190
4236
|
#
|
@@ -7568,6 +7614,36 @@ module Aws::SSM
|
|
7568
7614
|
include Aws::Structure
|
7569
7615
|
end
|
7570
7616
|
|
7617
|
+
# @!attribute [rw] access_request_id
|
7618
|
+
# The ID of a just-in-time node access request.
|
7619
|
+
# @return [String]
|
7620
|
+
#
|
7621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAccessTokenRequest AWS API Documentation
|
7622
|
+
#
|
7623
|
+
class GetAccessTokenRequest < Struct.new(
|
7624
|
+
:access_request_id)
|
7625
|
+
SENSITIVE = []
|
7626
|
+
include Aws::Structure
|
7627
|
+
end
|
7628
|
+
|
7629
|
+
# @!attribute [rw] credentials
|
7630
|
+
# The temporary security credentials which can be used to start
|
7631
|
+
# just-in-time node access sessions.
|
7632
|
+
# @return [Types::Credentials]
|
7633
|
+
#
|
7634
|
+
# @!attribute [rw] access_request_status
|
7635
|
+
# The status of the access request.
|
7636
|
+
# @return [String]
|
7637
|
+
#
|
7638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAccessTokenResponse AWS API Documentation
|
7639
|
+
#
|
7640
|
+
class GetAccessTokenResponse < Struct.new(
|
7641
|
+
:credentials,
|
7642
|
+
:access_request_status)
|
7643
|
+
SENSITIVE = []
|
7644
|
+
include Aws::Structure
|
7645
|
+
end
|
7646
|
+
|
7571
7647
|
# @!attribute [rw] automation_execution_id
|
7572
7648
|
# The unique identifier for an existing automation execution to
|
7573
7649
|
# examine. The execution ID is returned by StartAutomationExecution
|
@@ -17783,6 +17859,42 @@ module Aws::SSM
|
|
17783
17859
|
include Aws::Structure
|
17784
17860
|
end
|
17785
17861
|
|
17862
|
+
# The request exceeds the service quota. Service quotas, also referred
|
17863
|
+
# to as limits, are the maximum number of service resources or
|
17864
|
+
# operations for your Amazon Web Services account.
|
17865
|
+
#
|
17866
|
+
# @!attribute [rw] message
|
17867
|
+
# @return [String]
|
17868
|
+
#
|
17869
|
+
# @!attribute [rw] resource_id
|
17870
|
+
# The unique ID of the resource referenced in the failed request.
|
17871
|
+
# @return [String]
|
17872
|
+
#
|
17873
|
+
# @!attribute [rw] resource_type
|
17874
|
+
# The resource type of the resource referenced in the failed request.
|
17875
|
+
# @return [String]
|
17876
|
+
#
|
17877
|
+
# @!attribute [rw] quota_code
|
17878
|
+
# The quota code recognized by the Amazon Web Services Service Quotas
|
17879
|
+
# service.
|
17880
|
+
# @return [String]
|
17881
|
+
#
|
17882
|
+
# @!attribute [rw] service_code
|
17883
|
+
# The code for the Amazon Web Services service that owns the quota.
|
17884
|
+
# @return [String]
|
17885
|
+
#
|
17886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ServiceQuotaExceededException AWS API Documentation
|
17887
|
+
#
|
17888
|
+
class ServiceQuotaExceededException < Struct.new(
|
17889
|
+
:message,
|
17890
|
+
:resource_id,
|
17891
|
+
:resource_type,
|
17892
|
+
:quota_code,
|
17893
|
+
:service_code)
|
17894
|
+
SENSITIVE = []
|
17895
|
+
include Aws::Structure
|
17896
|
+
end
|
17897
|
+
|
17786
17898
|
# The service setting data structure.
|
17787
17899
|
#
|
17788
17900
|
# `ServiceSetting` is an account-level setting for an Amazon Web
|
@@ -18056,6 +18168,42 @@ module Aws::SSM
|
|
18056
18168
|
include Aws::Structure
|
18057
18169
|
end
|
18058
18170
|
|
18171
|
+
# @!attribute [rw] reason
|
18172
|
+
# A brief description explaining why you are requesting access to the
|
18173
|
+
# node.
|
18174
|
+
# @return [String]
|
18175
|
+
#
|
18176
|
+
# @!attribute [rw] targets
|
18177
|
+
# The node you are requesting access to.
|
18178
|
+
# @return [Array<Types::Target>]
|
18179
|
+
#
|
18180
|
+
# @!attribute [rw] tags
|
18181
|
+
# Key-value pairs of metadata you want to assign to the access
|
18182
|
+
# request.
|
18183
|
+
# @return [Array<Types::Tag>]
|
18184
|
+
#
|
18185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAccessRequestRequest AWS API Documentation
|
18186
|
+
#
|
18187
|
+
class StartAccessRequestRequest < Struct.new(
|
18188
|
+
:reason,
|
18189
|
+
:targets,
|
18190
|
+
:tags)
|
18191
|
+
SENSITIVE = []
|
18192
|
+
include Aws::Structure
|
18193
|
+
end
|
18194
|
+
|
18195
|
+
# @!attribute [rw] access_request_id
|
18196
|
+
# The ID of the access request.
|
18197
|
+
# @return [String]
|
18198
|
+
#
|
18199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAccessRequestResponse AWS API Documentation
|
18200
|
+
#
|
18201
|
+
class StartAccessRequestResponse < Struct.new(
|
18202
|
+
:access_request_id)
|
18203
|
+
SENSITIVE = []
|
18204
|
+
include Aws::Structure
|
18205
|
+
end
|
18206
|
+
|
18059
18207
|
# @!attribute [rw] association_ids
|
18060
18208
|
# The association IDs that you want to run immediately and only one
|
18061
18209
|
# time.
|
@@ -18976,6 +19124,31 @@ module Aws::SSM
|
|
18976
19124
|
include Aws::Structure
|
18977
19125
|
end
|
18978
19126
|
|
19127
|
+
# The request or operation couldn't be performed because the service is
|
19128
|
+
# throttling requests.
|
19129
|
+
#
|
19130
|
+
# @!attribute [rw] message
|
19131
|
+
# @return [String]
|
19132
|
+
#
|
19133
|
+
# @!attribute [rw] quota_code
|
19134
|
+
# The quota code recognized by the Amazon Web Services Service Quotas
|
19135
|
+
# service.
|
19136
|
+
# @return [String]
|
19137
|
+
#
|
19138
|
+
# @!attribute [rw] service_code
|
19139
|
+
# The code for the Amazon Web Services service that owns the quota.
|
19140
|
+
# @return [String]
|
19141
|
+
#
|
19142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ThrottlingException AWS API Documentation
|
19143
|
+
#
|
19144
|
+
class ThrottlingException < Struct.new(
|
19145
|
+
:message,
|
19146
|
+
:quota_code,
|
19147
|
+
:service_code)
|
19148
|
+
SENSITIVE = []
|
19149
|
+
include Aws::Structure
|
19150
|
+
end
|
19151
|
+
|
18979
19152
|
# The `Targets` parameter includes too many tags. Remove one or more
|
18980
19153
|
# tags and try the command again.
|
18981
19154
|
#
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -340,7 +340,7 @@ module Aws
|
|
340
340
|
name: ::String,
|
341
341
|
?display_name: ::String,
|
342
342
|
?version_name: ::String,
|
343
|
-
?document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup"),
|
343
|
+
?document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy"),
|
344
344
|
?document_format: ("YAML" | "JSON" | "TEXT"),
|
345
345
|
?target_type: ::String,
|
346
346
|
?tags: Array[
|
@@ -1178,7 +1178,7 @@ module Aws
|
|
1178
1178
|
def describe_ops_items: (
|
1179
1179
|
?ops_item_filters: Array[
|
1180
1180
|
{
|
1181
|
-
key: ("Status" | "CreatedBy" | "Source" | "Priority" | "Title" | "OpsItemId" | "CreatedTime" | "LastModifiedTime" | "ActualStartTime" | "ActualEndTime" | "PlannedStartTime" | "PlannedEndTime" | "OperationalData" | "OperationalDataKey" | "OperationalDataValue" | "ResourceId" | "AutomationId" | "Category" | "Severity" | "OpsItemType" | "ChangeRequestByRequesterArn" | "ChangeRequestByRequesterName" | "ChangeRequestByApproverArn" | "ChangeRequestByApproverName" | "ChangeRequestByTemplate" | "ChangeRequestByTargetsResourceGroup" | "InsightByType" | "AccountId"),
|
1181
|
+
key: ("Status" | "CreatedBy" | "Source" | "Priority" | "Title" | "OpsItemId" | "CreatedTime" | "LastModifiedTime" | "ActualStartTime" | "ActualEndTime" | "PlannedStartTime" | "PlannedEndTime" | "OperationalData" | "OperationalDataKey" | "OperationalDataValue" | "ResourceId" | "AutomationId" | "Category" | "Severity" | "OpsItemType" | "AccessRequestByRequesterArn" | "AccessRequestByRequesterId" | "AccessRequestByApproverArn" | "AccessRequestByApproverId" | "AccessRequestBySourceAccountId" | "AccessRequestBySourceOpsItemId" | "AccessRequestBySourceRegion" | "AccessRequestByIsReplica" | "AccessRequestByTargetResourceId" | "ChangeRequestByRequesterArn" | "ChangeRequestByRequesterName" | "ChangeRequestByApproverArn" | "ChangeRequestByApproverName" | "ChangeRequestByTemplate" | "ChangeRequestByTargetsResourceGroup" | "InsightByType" | "AccountId"),
|
1182
1182
|
values: Array[::String],
|
1183
1183
|
operator: ("Equal" | "Contains" | "GreaterThan" | "LessThan")
|
1184
1184
|
},
|
@@ -1316,6 +1316,17 @@ module Aws
|
|
1316
1316
|
) -> _DisassociateOpsItemRelatedItemResponseSuccess
|
1317
1317
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateOpsItemRelatedItemResponseSuccess
|
1318
1318
|
|
1319
|
+
interface _GetAccessTokenResponseSuccess
|
1320
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccessTokenResponse]
|
1321
|
+
def credentials: () -> Types::Credentials
|
1322
|
+
def access_request_status: () -> ("Approved" | "Rejected" | "Revoked" | "Expired" | "Pending")
|
1323
|
+
end
|
1324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#get_access_token-instance_method
|
1325
|
+
def get_access_token: (
|
1326
|
+
access_request_id: ::String
|
1327
|
+
) -> _GetAccessTokenResponseSuccess
|
1328
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccessTokenResponseSuccess
|
1329
|
+
|
1319
1330
|
interface _GetAutomationExecutionResponseSuccess
|
1320
1331
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomationExecutionResult]
|
1321
1332
|
def automation_execution: () -> Types::AutomationExecution
|
@@ -1455,7 +1466,7 @@ module Aws
|
|
1455
1466
|
def status: () -> ("Creating" | "Active" | "Updating" | "Deleting" | "Failed")
|
1456
1467
|
def status_information: () -> ::String
|
1457
1468
|
def content: () -> ::String
|
1458
|
-
def document_type: () -> ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup")
|
1469
|
+
def document_type: () -> ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy")
|
1459
1470
|
def document_format: () -> ("YAML" | "JSON" | "TEXT")
|
1460
1471
|
def requires: () -> ::Array[Types::DocumentRequires]
|
1461
1472
|
def attachments_content: () -> ::Array[Types::AttachmentContent]
|
@@ -2454,7 +2465,7 @@ module Aws
|
|
2454
2465
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#send_automation_signal-instance_method
|
2455
2466
|
def send_automation_signal: (
|
2456
2467
|
automation_execution_id: ::String,
|
2457
|
-
signal_type: ("Approve" | "Reject" | "StartStep" | "StopStep" | "Resume"),
|
2468
|
+
signal_type: ("Approve" | "Reject" | "StartStep" | "StopStep" | "Resume" | "Revoke"),
|
2458
2469
|
?payload: Hash[::String, Array[::String]]
|
2459
2470
|
) -> _SendAutomationSignalResponseSuccess
|
2460
2471
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendAutomationSignalResponseSuccess
|
@@ -2505,6 +2516,28 @@ module Aws
|
|
2505
2516
|
) -> _SendCommandResponseSuccess
|
2506
2517
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendCommandResponseSuccess
|
2507
2518
|
|
2519
|
+
interface _StartAccessRequestResponseSuccess
|
2520
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartAccessRequestResponse]
|
2521
|
+
def access_request_id: () -> ::String
|
2522
|
+
end
|
2523
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SSM/Client.html#start_access_request-instance_method
|
2524
|
+
def start_access_request: (
|
2525
|
+
reason: ::String,
|
2526
|
+
targets: Array[
|
2527
|
+
{
|
2528
|
+
key: ::String?,
|
2529
|
+
values: Array[::String]?
|
2530
|
+
},
|
2531
|
+
],
|
2532
|
+
?tags: Array[
|
2533
|
+
{
|
2534
|
+
key: ::String,
|
2535
|
+
value: ::String
|
2536
|
+
},
|
2537
|
+
]
|
2538
|
+
) -> _StartAccessRequestResponseSuccess
|
2539
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAccessRequestResponseSuccess
|
2540
|
+
|
2508
2541
|
interface _StartAssociationsOnceResponseSuccess
|
2509
2542
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartAssociationsOnceResult]
|
2510
2543
|
end
|
@@ -3082,7 +3115,7 @@ module Aws
|
|
3082
3115
|
ops_item_id: ::String
|
3083
3116
|
},
|
3084
3117
|
],
|
3085
|
-
?status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Rejected" | "Closed"),
|
3118
|
+
?status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Revoked" | "Rejected" | "Closed"),
|
3086
3119
|
ops_item_id: ::String,
|
3087
3120
|
?title: ::String,
|
3088
3121
|
?category: ::String,
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,9 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
14
17
|
class AlreadyExistsException < ::Aws::Errors::ServiceError
|
15
18
|
def message: () -> ::String
|
16
19
|
end
|
@@ -368,6 +371,13 @@ module Aws
|
|
368
371
|
class ResourcePolicyNotFoundException < ::Aws::Errors::ServiceError
|
369
372
|
def message: () -> ::String
|
370
373
|
end
|
374
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
375
|
+
def message: () -> ::String
|
376
|
+
def resource_id: () -> ::String
|
377
|
+
def resource_type: () -> ::String
|
378
|
+
def quota_code: () -> ::String
|
379
|
+
def service_code: () -> ::String
|
380
|
+
end
|
371
381
|
class ServiceSettingNotFound < ::Aws::Errors::ServiceError
|
372
382
|
def message: () -> ::String
|
373
383
|
end
|
@@ -382,6 +392,11 @@ module Aws
|
|
382
392
|
class TargetNotConnected < ::Aws::Errors::ServiceError
|
383
393
|
def message: () -> ::String
|
384
394
|
end
|
395
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
396
|
+
def message: () -> ::String
|
397
|
+
def quota_code: () -> ::String
|
398
|
+
def service_code: () -> ::String
|
399
|
+
end
|
385
400
|
class TooManyTagsError < ::Aws::Errors::ServiceError
|
386
401
|
end
|
387
402
|
class TooManyUpdates < ::Aws::Errors::ServiceError
|
data/sig/types.rbs
CHANGED
@@ -8,6 +8,11 @@
|
|
8
8
|
module Aws::SSM
|
9
9
|
module Types
|
10
10
|
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
11
16
|
class AccountSharingInfo
|
12
17
|
attr_accessor account_id: ::String
|
13
18
|
attr_accessor shared_document_version: ::String
|
@@ -297,7 +302,7 @@ module Aws::SSM
|
|
297
302
|
attr_accessor alarm_configuration: Types::AlarmConfiguration
|
298
303
|
attr_accessor triggered_alarms: ::Array[Types::AlarmStateInformation]
|
299
304
|
attr_accessor target_locations_url: ::String
|
300
|
-
attr_accessor automation_subtype: ("ChangeRequest")
|
305
|
+
attr_accessor automation_subtype: ("ChangeRequest" | "AccessRequest")
|
301
306
|
attr_accessor scheduled_time: ::Time
|
302
307
|
attr_accessor runbooks: ::Array[Types::Runbook]
|
303
308
|
attr_accessor ops_item_id: ::String
|
@@ -354,7 +359,7 @@ module Aws::SSM
|
|
354
359
|
attr_accessor alarm_configuration: Types::AlarmConfiguration
|
355
360
|
attr_accessor triggered_alarms: ::Array[Types::AlarmStateInformation]
|
356
361
|
attr_accessor target_locations_url: ::String
|
357
|
-
attr_accessor automation_subtype: ("ChangeRequest")
|
362
|
+
attr_accessor automation_subtype: ("ChangeRequest" | "AccessRequest")
|
358
363
|
attr_accessor scheduled_time: ::Time
|
359
364
|
attr_accessor runbooks: ::Array[Types::Runbook]
|
360
365
|
attr_accessor ops_item_id: ::String
|
@@ -635,7 +640,7 @@ module Aws::SSM
|
|
635
640
|
attr_accessor name: ::String
|
636
641
|
attr_accessor display_name: ::String
|
637
642
|
attr_accessor version_name: ::String
|
638
|
-
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup")
|
643
|
+
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy")
|
639
644
|
attr_accessor document_format: ("YAML" | "JSON" | "TEXT")
|
640
645
|
attr_accessor target_type: ::String
|
641
646
|
attr_accessor tags: ::Array[Types::Tag]
|
@@ -740,6 +745,14 @@ module Aws::SSM
|
|
740
745
|
class CreateResourceDataSyncResult < Aws::EmptyStructure
|
741
746
|
end
|
742
747
|
|
748
|
+
class Credentials
|
749
|
+
attr_accessor access_key_id: ::String
|
750
|
+
attr_accessor secret_access_key: ::String
|
751
|
+
attr_accessor session_token: ::String
|
752
|
+
attr_accessor expiration_time: ::Time
|
753
|
+
SENSITIVE: [:secret_access_key, :session_token]
|
754
|
+
end
|
755
|
+
|
743
756
|
class CustomSchemaCountLimitExceededException
|
744
757
|
attr_accessor message: ::String
|
745
758
|
SENSITIVE: []
|
@@ -1413,7 +1426,7 @@ module Aws::SSM
|
|
1413
1426
|
attr_accessor description: ::String
|
1414
1427
|
attr_accessor parameters: ::Array[Types::DocumentParameter]
|
1415
1428
|
attr_accessor platform_types: ::Array[("Windows" | "Linux" | "MacOS")]
|
1416
|
-
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup")
|
1429
|
+
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy")
|
1417
1430
|
attr_accessor schema_version: ::String
|
1418
1431
|
attr_accessor latest_version: ::String
|
1419
1432
|
attr_accessor default_version: ::String
|
@@ -1446,7 +1459,7 @@ module Aws::SSM
|
|
1446
1459
|
attr_accessor version_name: ::String
|
1447
1460
|
attr_accessor platform_types: ::Array[("Windows" | "Linux" | "MacOS")]
|
1448
1461
|
attr_accessor document_version: ::String
|
1449
|
-
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup")
|
1462
|
+
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy")
|
1450
1463
|
attr_accessor schema_version: ::String
|
1451
1464
|
attr_accessor document_format: ("YAML" | "JSON" | "TEXT")
|
1452
1465
|
attr_accessor target_type: ::String
|
@@ -1599,6 +1612,17 @@ module Aws::SSM
|
|
1599
1612
|
SENSITIVE: []
|
1600
1613
|
end
|
1601
1614
|
|
1615
|
+
class GetAccessTokenRequest
|
1616
|
+
attr_accessor access_request_id: ::String
|
1617
|
+
SENSITIVE: []
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
class GetAccessTokenResponse
|
1621
|
+
attr_accessor credentials: Types::Credentials
|
1622
|
+
attr_accessor access_request_status: ("Approved" | "Rejected" | "Revoked" | "Expired" | "Pending")
|
1623
|
+
SENSITIVE: []
|
1624
|
+
end
|
1625
|
+
|
1602
1626
|
class GetAutomationExecutionRequest
|
1603
1627
|
attr_accessor automation_execution_id: ::String
|
1604
1628
|
SENSITIVE: []
|
@@ -1704,7 +1728,7 @@ module Aws::SSM
|
|
1704
1728
|
attr_accessor status: ("Creating" | "Active" | "Updating" | "Deleting" | "Failed")
|
1705
1729
|
attr_accessor status_information: ::String
|
1706
1730
|
attr_accessor content: ::String
|
1707
|
-
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup")
|
1731
|
+
attr_accessor document_type: ("Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy")
|
1708
1732
|
attr_accessor document_format: ("YAML" | "JSON" | "TEXT")
|
1709
1733
|
attr_accessor requires: ::Array[Types::DocumentRequires]
|
1710
1734
|
attr_accessor attachments_content: ::Array[Types::AttachmentContent]
|
@@ -3101,7 +3125,7 @@ module Aws::SSM
|
|
3101
3125
|
attr_accessor notifications: ::Array[Types::OpsItemNotification]
|
3102
3126
|
attr_accessor priority: ::Integer
|
3103
3127
|
attr_accessor related_ops_items: ::Array[Types::RelatedOpsItem]
|
3104
|
-
attr_accessor status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Rejected" | "Closed")
|
3128
|
+
attr_accessor status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Revoked" | "Rejected" | "Closed")
|
3105
3129
|
attr_accessor ops_item_id: ::String
|
3106
3130
|
attr_accessor version: ::String
|
3107
3131
|
attr_accessor title: ::String
|
@@ -3158,7 +3182,7 @@ module Aws::SSM
|
|
3158
3182
|
end
|
3159
3183
|
|
3160
3184
|
class OpsItemFilter
|
3161
|
-
attr_accessor key: ("Status" | "CreatedBy" | "Source" | "Priority" | "Title" | "OpsItemId" | "CreatedTime" | "LastModifiedTime" | "ActualStartTime" | "ActualEndTime" | "PlannedStartTime" | "PlannedEndTime" | "OperationalData" | "OperationalDataKey" | "OperationalDataValue" | "ResourceId" | "AutomationId" | "Category" | "Severity" | "OpsItemType" | "ChangeRequestByRequesterArn" | "ChangeRequestByRequesterName" | "ChangeRequestByApproverArn" | "ChangeRequestByApproverName" | "ChangeRequestByTemplate" | "ChangeRequestByTargetsResourceGroup" | "InsightByType" | "AccountId")
|
3185
|
+
attr_accessor key: ("Status" | "CreatedBy" | "Source" | "Priority" | "Title" | "OpsItemId" | "CreatedTime" | "LastModifiedTime" | "ActualStartTime" | "ActualEndTime" | "PlannedStartTime" | "PlannedEndTime" | "OperationalData" | "OperationalDataKey" | "OperationalDataValue" | "ResourceId" | "AutomationId" | "Category" | "Severity" | "OpsItemType" | "AccessRequestByRequesterArn" | "AccessRequestByRequesterId" | "AccessRequestByApproverArn" | "AccessRequestByApproverId" | "AccessRequestBySourceAccountId" | "AccessRequestBySourceOpsItemId" | "AccessRequestBySourceRegion" | "AccessRequestByIsReplica" | "AccessRequestByTargetResourceId" | "ChangeRequestByRequesterArn" | "ChangeRequestByRequesterName" | "ChangeRequestByApproverArn" | "ChangeRequestByApproverName" | "ChangeRequestByTemplate" | "ChangeRequestByTargetsResourceGroup" | "InsightByType" | "AccountId")
|
3162
3186
|
attr_accessor values: ::Array[::String]
|
3163
3187
|
attr_accessor operator: ("Equal" | "Contains" | "GreaterThan" | "LessThan")
|
3164
3188
|
SENSITIVE: []
|
@@ -3232,7 +3256,7 @@ module Aws::SSM
|
|
3232
3256
|
attr_accessor last_modified_time: ::Time
|
3233
3257
|
attr_accessor priority: ::Integer
|
3234
3258
|
attr_accessor source: ::String
|
3235
|
-
attr_accessor status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Rejected" | "Closed")
|
3259
|
+
attr_accessor status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Revoked" | "Rejected" | "Closed")
|
3236
3260
|
attr_accessor ops_item_id: ::String
|
3237
3261
|
attr_accessor title: ::String
|
3238
3262
|
attr_accessor operational_data: ::Hash[::String, Types::OpsItemDataValue]
|
@@ -3878,7 +3902,7 @@ module Aws::SSM
|
|
3878
3902
|
|
3879
3903
|
class SendAutomationSignalRequest
|
3880
3904
|
attr_accessor automation_execution_id: ::String
|
3881
|
-
attr_accessor signal_type: ("Approve" | "Reject" | "StartStep" | "StopStep" | "Resume")
|
3905
|
+
attr_accessor signal_type: ("Approve" | "Reject" | "StartStep" | "StopStep" | "Resume" | "Revoke")
|
3882
3906
|
attr_accessor payload: ::Hash[::String, ::Array[::String]]
|
3883
3907
|
SENSITIVE: []
|
3884
3908
|
end
|
@@ -3913,6 +3937,15 @@ module Aws::SSM
|
|
3913
3937
|
SENSITIVE: []
|
3914
3938
|
end
|
3915
3939
|
|
3940
|
+
class ServiceQuotaExceededException
|
3941
|
+
attr_accessor message: ::String
|
3942
|
+
attr_accessor resource_id: ::String
|
3943
|
+
attr_accessor resource_type: ::String
|
3944
|
+
attr_accessor quota_code: ::String
|
3945
|
+
attr_accessor service_code: ::String
|
3946
|
+
SENSITIVE: []
|
3947
|
+
end
|
3948
|
+
|
3916
3949
|
class ServiceSetting
|
3917
3950
|
attr_accessor setting_id: ::String
|
3918
3951
|
attr_accessor setting_value: ::String
|
@@ -3965,6 +3998,18 @@ module Aws::SSM
|
|
3965
3998
|
SENSITIVE: []
|
3966
3999
|
end
|
3967
4000
|
|
4001
|
+
class StartAccessRequestRequest
|
4002
|
+
attr_accessor reason: ::String
|
4003
|
+
attr_accessor targets: ::Array[Types::Target]
|
4004
|
+
attr_accessor tags: ::Array[Types::Tag]
|
4005
|
+
SENSITIVE: []
|
4006
|
+
end
|
4007
|
+
|
4008
|
+
class StartAccessRequestResponse
|
4009
|
+
attr_accessor access_request_id: ::String
|
4010
|
+
SENSITIVE: []
|
4011
|
+
end
|
4012
|
+
|
3968
4013
|
class StartAssociationsOnceRequest
|
3969
4014
|
attr_accessor association_ids: ::Array[::String]
|
3970
4015
|
SENSITIVE: []
|
@@ -4147,6 +4192,13 @@ module Aws::SSM
|
|
4147
4192
|
SENSITIVE: []
|
4148
4193
|
end
|
4149
4194
|
|
4195
|
+
class ThrottlingException
|
4196
|
+
attr_accessor message: ::String
|
4197
|
+
attr_accessor quota_code: ::String
|
4198
|
+
attr_accessor service_code: ::String
|
4199
|
+
SENSITIVE: []
|
4200
|
+
end
|
4201
|
+
|
4150
4202
|
class TooManyTagsError < Aws::EmptyStructure
|
4151
4203
|
end
|
4152
4204
|
|
@@ -4403,7 +4455,7 @@ module Aws::SSM
|
|
4403
4455
|
attr_accessor notifications: ::Array[Types::OpsItemNotification]
|
4404
4456
|
attr_accessor priority: ::Integer
|
4405
4457
|
attr_accessor related_ops_items: ::Array[Types::RelatedOpsItem]
|
4406
|
-
attr_accessor status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Rejected" | "Closed")
|
4458
|
+
attr_accessor status: ("Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Revoked" | "Rejected" | "Closed")
|
4407
4459
|
attr_accessor ops_item_id: ::String
|
4408
4460
|
attr_accessor title: ::String
|
4409
4461
|
attr_accessor category: ::String
|