aws-sdk-ssmquicksetup 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ssmquicksetup/client.rb +882 -0
- data/lib/aws-sdk-ssmquicksetup/client_api.rb +449 -0
- data/lib/aws-sdk-ssmquicksetup/customizations.rb +0 -0
- data/lib/aws-sdk-ssmquicksetup/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ssmquicksetup/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-ssmquicksetup/endpoints.rb +184 -0
- data/lib/aws-sdk-ssmquicksetup/errors.rb +142 -0
- data/lib/aws-sdk-ssmquicksetup/plugins/endpoints.rb +94 -0
- data/lib/aws-sdk-ssmquicksetup/resource.rb +26 -0
- data/lib/aws-sdk-ssmquicksetup/types.rb +1483 -0
- data/lib/aws-sdk-ssmquicksetup.rb +57 -0
- data/sig/client.rbs +205 -0
- data/sig/errors.rbs +34 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +211 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,449 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::SSMQuickSetup
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
ConfigurationDefinition = Shapes::StructureShape.new(name: 'ConfigurationDefinition')
|
18
|
+
ConfigurationDefinitionInput = Shapes::StructureShape.new(name: 'ConfigurationDefinitionInput')
|
19
|
+
ConfigurationDefinitionInputLocalDeploymentExecutionRoleNameString = Shapes::StringShape.new(name: 'ConfigurationDefinitionInputLocalDeploymentExecutionRoleNameString')
|
20
|
+
ConfigurationDefinitionInputTypeString = Shapes::StringShape.new(name: 'ConfigurationDefinitionInputTypeString')
|
21
|
+
ConfigurationDefinitionInputTypeVersionString = Shapes::StringShape.new(name: 'ConfigurationDefinitionInputTypeVersionString')
|
22
|
+
ConfigurationDefinitionLocalDeploymentExecutionRoleNameString = Shapes::StringShape.new(name: 'ConfigurationDefinitionLocalDeploymentExecutionRoleNameString')
|
23
|
+
ConfigurationDefinitionSummariesList = Shapes::ListShape.new(name: 'ConfigurationDefinitionSummariesList')
|
24
|
+
ConfigurationDefinitionSummary = Shapes::StructureShape.new(name: 'ConfigurationDefinitionSummary')
|
25
|
+
ConfigurationDefinitionTypeString = Shapes::StringShape.new(name: 'ConfigurationDefinitionTypeString')
|
26
|
+
ConfigurationDefinitionTypeVersionString = Shapes::StringShape.new(name: 'ConfigurationDefinitionTypeVersionString')
|
27
|
+
ConfigurationDefinitionsInputList = Shapes::ListShape.new(name: 'ConfigurationDefinitionsInputList')
|
28
|
+
ConfigurationDefinitionsList = Shapes::ListShape.new(name: 'ConfigurationDefinitionsList')
|
29
|
+
ConfigurationManagerList = Shapes::ListShape.new(name: 'ConfigurationManagerList')
|
30
|
+
ConfigurationManagerSummary = Shapes::StructureShape.new(name: 'ConfigurationManagerSummary')
|
31
|
+
ConfigurationParametersMap = Shapes::MapShape.new(name: 'ConfigurationParametersMap')
|
32
|
+
ConfigurationParametersMapKeyString = Shapes::StringShape.new(name: 'ConfigurationParametersMapKeyString')
|
33
|
+
ConfigurationParametersMapValueString = Shapes::StringShape.new(name: 'ConfigurationParametersMapValueString')
|
34
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
35
|
+
CreateConfigurationManagerInput = Shapes::StructureShape.new(name: 'CreateConfigurationManagerInput')
|
36
|
+
CreateConfigurationManagerInputDescriptionString = Shapes::StringShape.new(name: 'CreateConfigurationManagerInputDescriptionString')
|
37
|
+
CreateConfigurationManagerInputNameString = Shapes::StringShape.new(name: 'CreateConfigurationManagerInputNameString')
|
38
|
+
CreateConfigurationManagerOutput = Shapes::StructureShape.new(name: 'CreateConfigurationManagerOutput')
|
39
|
+
DeleteConfigurationManagerInput = Shapes::StructureShape.new(name: 'DeleteConfigurationManagerInput')
|
40
|
+
DeleteConfigurationManagerInputManagerArnString = Shapes::StringShape.new(name: 'DeleteConfigurationManagerInputManagerArnString')
|
41
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
42
|
+
FilterKeyString = Shapes::StringShape.new(name: 'FilterKeyString')
|
43
|
+
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
44
|
+
FilterValuesMemberString = Shapes::StringShape.new(name: 'FilterValuesMemberString')
|
45
|
+
FiltersList = Shapes::ListShape.new(name: 'FiltersList')
|
46
|
+
GetConfigurationManagerInput = Shapes::StructureShape.new(name: 'GetConfigurationManagerInput')
|
47
|
+
GetConfigurationManagerInputManagerArnString = Shapes::StringShape.new(name: 'GetConfigurationManagerInputManagerArnString')
|
48
|
+
GetConfigurationManagerOutput = Shapes::StructureShape.new(name: 'GetConfigurationManagerOutput')
|
49
|
+
GetServiceSettingsOutput = Shapes::StructureShape.new(name: 'GetServiceSettingsOutput')
|
50
|
+
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
51
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
52
|
+
ListConfigurationManagersInput = Shapes::StructureShape.new(name: 'ListConfigurationManagersInput')
|
53
|
+
ListConfigurationManagersInputMaxItemsInteger = Shapes::IntegerShape.new(name: 'ListConfigurationManagersInputMaxItemsInteger')
|
54
|
+
ListConfigurationManagersInputStartingTokenString = Shapes::StringShape.new(name: 'ListConfigurationManagersInputStartingTokenString')
|
55
|
+
ListConfigurationManagersOutput = Shapes::StructureShape.new(name: 'ListConfigurationManagersOutput')
|
56
|
+
ListQuickSetupTypesOutput = Shapes::StructureShape.new(name: 'ListQuickSetupTypesOutput')
|
57
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
58
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
59
|
+
QuickSetupTypeList = Shapes::ListShape.new(name: 'QuickSetupTypeList')
|
60
|
+
QuickSetupTypeOutput = Shapes::StructureShape.new(name: 'QuickSetupTypeOutput')
|
61
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
62
|
+
ServiceSettings = Shapes::StructureShape.new(name: 'ServiceSettings')
|
63
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
64
|
+
StatusDetails = Shapes::MapShape.new(name: 'StatusDetails')
|
65
|
+
StatusSummariesList = Shapes::ListShape.new(name: 'StatusSummariesList')
|
66
|
+
StatusSummary = Shapes::StructureShape.new(name: 'StatusSummary')
|
67
|
+
StatusType = Shapes::StringShape.new(name: 'StatusType')
|
68
|
+
String = Shapes::StringShape.new(name: 'String')
|
69
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
70
|
+
TagEntry = Shapes::StructureShape.new(name: 'TagEntry')
|
71
|
+
TagEntryKeyString = Shapes::StringShape.new(name: 'TagEntryKeyString')
|
72
|
+
TagEntryValueString = Shapes::StringShape.new(name: 'TagEntryValueString')
|
73
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
74
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
75
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
76
|
+
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
77
|
+
TagsMapKeyString = Shapes::StringShape.new(name: 'TagsMapKeyString')
|
78
|
+
TagsMapValueString = Shapes::StringShape.new(name: 'TagsMapValueString')
|
79
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
80
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
81
|
+
UpdateConfigurationDefinitionInput = Shapes::StructureShape.new(name: 'UpdateConfigurationDefinitionInput')
|
82
|
+
UpdateConfigurationDefinitionInputIdString = Shapes::StringShape.new(name: 'UpdateConfigurationDefinitionInputIdString')
|
83
|
+
UpdateConfigurationDefinitionInputLocalDeploymentExecutionRoleNameString = Shapes::StringShape.new(name: 'UpdateConfigurationDefinitionInputLocalDeploymentExecutionRoleNameString')
|
84
|
+
UpdateConfigurationDefinitionInputManagerArnString = Shapes::StringShape.new(name: 'UpdateConfigurationDefinitionInputManagerArnString')
|
85
|
+
UpdateConfigurationDefinitionInputTypeVersionString = Shapes::StringShape.new(name: 'UpdateConfigurationDefinitionInputTypeVersionString')
|
86
|
+
UpdateConfigurationManagerInput = Shapes::StructureShape.new(name: 'UpdateConfigurationManagerInput')
|
87
|
+
UpdateConfigurationManagerInputDescriptionString = Shapes::StringShape.new(name: 'UpdateConfigurationManagerInputDescriptionString')
|
88
|
+
UpdateConfigurationManagerInputManagerArnString = Shapes::StringShape.new(name: 'UpdateConfigurationManagerInputManagerArnString')
|
89
|
+
UpdateConfigurationManagerInputNameString = Shapes::StringShape.new(name: 'UpdateConfigurationManagerInputNameString')
|
90
|
+
UpdateServiceSettingsInput = Shapes::StructureShape.new(name: 'UpdateServiceSettingsInput')
|
91
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
92
|
+
|
93
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
94
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
95
|
+
|
96
|
+
ConfigurationDefinition.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
97
|
+
ConfigurationDefinition.add_member(:local_deployment_administration_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "LocalDeploymentAdministrationRoleArn"))
|
98
|
+
ConfigurationDefinition.add_member(:local_deployment_execution_role_name, Shapes::ShapeRef.new(shape: ConfigurationDefinitionLocalDeploymentExecutionRoleNameString, location_name: "LocalDeploymentExecutionRoleName"))
|
99
|
+
ConfigurationDefinition.add_member(:parameters, Shapes::ShapeRef.new(shape: ConfigurationParametersMap, required: true, location_name: "Parameters"))
|
100
|
+
ConfigurationDefinition.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationDefinitionTypeString, required: true, location_name: "Type"))
|
101
|
+
ConfigurationDefinition.add_member(:type_version, Shapes::ShapeRef.new(shape: ConfigurationDefinitionTypeVersionString, location_name: "TypeVersion"))
|
102
|
+
ConfigurationDefinition.struct_class = Types::ConfigurationDefinition
|
103
|
+
|
104
|
+
ConfigurationDefinitionInput.add_member(:local_deployment_administration_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "LocalDeploymentAdministrationRoleArn"))
|
105
|
+
ConfigurationDefinitionInput.add_member(:local_deployment_execution_role_name, Shapes::ShapeRef.new(shape: ConfigurationDefinitionInputLocalDeploymentExecutionRoleNameString, location_name: "LocalDeploymentExecutionRoleName"))
|
106
|
+
ConfigurationDefinitionInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ConfigurationParametersMap, required: true, location_name: "Parameters"))
|
107
|
+
ConfigurationDefinitionInput.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationDefinitionInputTypeString, required: true, location_name: "Type"))
|
108
|
+
ConfigurationDefinitionInput.add_member(:type_version, Shapes::ShapeRef.new(shape: ConfigurationDefinitionInputTypeVersionString, location_name: "TypeVersion"))
|
109
|
+
ConfigurationDefinitionInput.struct_class = Types::ConfigurationDefinitionInput
|
110
|
+
|
111
|
+
ConfigurationDefinitionSummariesList.member = Shapes::ShapeRef.new(shape: ConfigurationDefinitionSummary)
|
112
|
+
|
113
|
+
ConfigurationDefinitionSummary.add_member(:first_class_parameters, Shapes::ShapeRef.new(shape: ConfigurationParametersMap, location_name: "FirstClassParameters"))
|
114
|
+
ConfigurationDefinitionSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
115
|
+
ConfigurationDefinitionSummary.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
116
|
+
ConfigurationDefinitionSummary.add_member(:type_version, Shapes::ShapeRef.new(shape: String, location_name: "TypeVersion"))
|
117
|
+
ConfigurationDefinitionSummary.struct_class = Types::ConfigurationDefinitionSummary
|
118
|
+
|
119
|
+
ConfigurationDefinitionsInputList.member = Shapes::ShapeRef.new(shape: ConfigurationDefinitionInput)
|
120
|
+
|
121
|
+
ConfigurationDefinitionsList.member = Shapes::ShapeRef.new(shape: ConfigurationDefinition)
|
122
|
+
|
123
|
+
ConfigurationManagerList.member = Shapes::ShapeRef.new(shape: ConfigurationManagerSummary)
|
124
|
+
|
125
|
+
ConfigurationManagerSummary.add_member(:configuration_definition_summaries, Shapes::ShapeRef.new(shape: ConfigurationDefinitionSummariesList, location_name: "ConfigurationDefinitionSummaries"))
|
126
|
+
ConfigurationManagerSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
127
|
+
ConfigurationManagerSummary.add_member(:manager_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ManagerArn"))
|
128
|
+
ConfigurationManagerSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
129
|
+
ConfigurationManagerSummary.add_member(:status_summaries, Shapes::ShapeRef.new(shape: StatusSummariesList, location_name: "StatusSummaries"))
|
130
|
+
ConfigurationManagerSummary.struct_class = Types::ConfigurationManagerSummary
|
131
|
+
|
132
|
+
ConfigurationParametersMap.key = Shapes::ShapeRef.new(shape: ConfigurationParametersMapKeyString)
|
133
|
+
ConfigurationParametersMap.value = Shapes::ShapeRef.new(shape: ConfigurationParametersMapValueString)
|
134
|
+
|
135
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
136
|
+
ConflictException.struct_class = Types::ConflictException
|
137
|
+
|
138
|
+
CreateConfigurationManagerInput.add_member(:configuration_definitions, Shapes::ShapeRef.new(shape: ConfigurationDefinitionsInputList, required: true, location_name: "ConfigurationDefinitions"))
|
139
|
+
CreateConfigurationManagerInput.add_member(:description, Shapes::ShapeRef.new(shape: CreateConfigurationManagerInputDescriptionString, location_name: "Description"))
|
140
|
+
CreateConfigurationManagerInput.add_member(:name, Shapes::ShapeRef.new(shape: CreateConfigurationManagerInputNameString, location_name: "Name"))
|
141
|
+
CreateConfigurationManagerInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
|
142
|
+
CreateConfigurationManagerInput.struct_class = Types::CreateConfigurationManagerInput
|
143
|
+
|
144
|
+
CreateConfigurationManagerOutput.add_member(:manager_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ManagerArn"))
|
145
|
+
CreateConfigurationManagerOutput.struct_class = Types::CreateConfigurationManagerOutput
|
146
|
+
|
147
|
+
DeleteConfigurationManagerInput.add_member(:manager_arn, Shapes::ShapeRef.new(shape: DeleteConfigurationManagerInputManagerArnString, required: true, location: "uri", location_name: "ManagerArn"))
|
148
|
+
DeleteConfigurationManagerInput.struct_class = Types::DeleteConfigurationManagerInput
|
149
|
+
|
150
|
+
Filter.add_member(:key, Shapes::ShapeRef.new(shape: FilterKeyString, required: true, location_name: "Key"))
|
151
|
+
Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
152
|
+
Filter.struct_class = Types::Filter
|
153
|
+
|
154
|
+
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValuesMemberString)
|
155
|
+
|
156
|
+
FiltersList.member = Shapes::ShapeRef.new(shape: Filter)
|
157
|
+
|
158
|
+
GetConfigurationManagerInput.add_member(:manager_arn, Shapes::ShapeRef.new(shape: GetConfigurationManagerInputManagerArnString, required: true, location: "uri", location_name: "ManagerArn"))
|
159
|
+
GetConfigurationManagerInput.struct_class = Types::GetConfigurationManagerInput
|
160
|
+
|
161
|
+
GetConfigurationManagerOutput.add_member(:configuration_definitions, Shapes::ShapeRef.new(shape: ConfigurationDefinitionsList, location_name: "ConfigurationDefinitions"))
|
162
|
+
GetConfigurationManagerOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "CreatedAt"))
|
163
|
+
GetConfigurationManagerOutput.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
164
|
+
GetConfigurationManagerOutput.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "LastModifiedAt"))
|
165
|
+
GetConfigurationManagerOutput.add_member(:manager_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ManagerArn"))
|
166
|
+
GetConfigurationManagerOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
167
|
+
GetConfigurationManagerOutput.add_member(:status_summaries, Shapes::ShapeRef.new(shape: StatusSummariesList, location_name: "StatusSummaries"))
|
168
|
+
GetConfigurationManagerOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "Tags"))
|
169
|
+
GetConfigurationManagerOutput.struct_class = Types::GetConfigurationManagerOutput
|
170
|
+
|
171
|
+
GetServiceSettingsOutput.add_member(:service_settings, Shapes::ShapeRef.new(shape: ServiceSettings, location_name: "ServiceSettings"))
|
172
|
+
GetServiceSettingsOutput.struct_class = Types::GetServiceSettingsOutput
|
173
|
+
|
174
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
175
|
+
InternalServerException.struct_class = Types::InternalServerException
|
176
|
+
|
177
|
+
ListConfigurationManagersInput.add_member(:filters, Shapes::ShapeRef.new(shape: FiltersList, location_name: "Filters"))
|
178
|
+
ListConfigurationManagersInput.add_member(:max_items, Shapes::ShapeRef.new(shape: ListConfigurationManagersInputMaxItemsInteger, location_name: "MaxItems"))
|
179
|
+
ListConfigurationManagersInput.add_member(:starting_token, Shapes::ShapeRef.new(shape: ListConfigurationManagersInputStartingTokenString, location_name: "StartingToken"))
|
180
|
+
ListConfigurationManagersInput.struct_class = Types::ListConfigurationManagersInput
|
181
|
+
|
182
|
+
ListConfigurationManagersOutput.add_member(:configuration_managers_list, Shapes::ShapeRef.new(shape: ConfigurationManagerList, location_name: "ConfigurationManagersList"))
|
183
|
+
ListConfigurationManagersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
184
|
+
ListConfigurationManagersOutput.struct_class = Types::ListConfigurationManagersOutput
|
185
|
+
|
186
|
+
ListQuickSetupTypesOutput.add_member(:quick_setup_type_list, Shapes::ShapeRef.new(shape: QuickSetupTypeList, location_name: "QuickSetupTypeList"))
|
187
|
+
ListQuickSetupTypesOutput.struct_class = Types::ListQuickSetupTypesOutput
|
188
|
+
|
189
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
190
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
191
|
+
|
192
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
193
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
194
|
+
|
195
|
+
QuickSetupTypeList.member = Shapes::ShapeRef.new(shape: QuickSetupTypeOutput)
|
196
|
+
|
197
|
+
QuickSetupTypeOutput.add_member(:latest_version, Shapes::ShapeRef.new(shape: String, location_name: "LatestVersion"))
|
198
|
+
QuickSetupTypeOutput.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
199
|
+
QuickSetupTypeOutput.struct_class = Types::QuickSetupTypeOutput
|
200
|
+
|
201
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
202
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
203
|
+
|
204
|
+
ServiceSettings.add_member(:explorer_enabling_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "ExplorerEnablingRoleArn"))
|
205
|
+
ServiceSettings.struct_class = Types::ServiceSettings
|
206
|
+
|
207
|
+
StatusDetails.key = Shapes::ShapeRef.new(shape: String)
|
208
|
+
StatusDetails.value = Shapes::ShapeRef.new(shape: String)
|
209
|
+
|
210
|
+
StatusSummariesList.member = Shapes::ShapeRef.new(shape: StatusSummary)
|
211
|
+
|
212
|
+
StatusSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "LastUpdatedAt"))
|
213
|
+
StatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
214
|
+
StatusSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "StatusDetails"))
|
215
|
+
StatusSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
|
216
|
+
StatusSummary.add_member(:status_type, Shapes::ShapeRef.new(shape: StatusType, required: true, location_name: "StatusType"))
|
217
|
+
StatusSummary.struct_class = Types::StatusSummary
|
218
|
+
|
219
|
+
TagEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagEntryKeyString, location_name: "Key"))
|
220
|
+
TagEntry.add_member(:value, Shapes::ShapeRef.new(shape: TagEntryValueString, location_name: "Value"))
|
221
|
+
TagEntry.struct_class = Types::TagEntry
|
222
|
+
|
223
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: String)
|
224
|
+
|
225
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
226
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "Tags"))
|
227
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
228
|
+
|
229
|
+
Tags.member = Shapes::ShapeRef.new(shape: TagEntry)
|
230
|
+
|
231
|
+
TagsMap.key = Shapes::ShapeRef.new(shape: TagsMapKeyString)
|
232
|
+
TagsMap.value = Shapes::ShapeRef.new(shape: TagsMapValueString)
|
233
|
+
|
234
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
|
235
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
236
|
+
|
237
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ResourceArn"))
|
238
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
239
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
240
|
+
|
241
|
+
UpdateConfigurationDefinitionInput.add_member(:id, Shapes::ShapeRef.new(shape: UpdateConfigurationDefinitionInputIdString, required: true, location: "uri", location_name: "Id"))
|
242
|
+
UpdateConfigurationDefinitionInput.add_member(:local_deployment_administration_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "LocalDeploymentAdministrationRoleArn"))
|
243
|
+
UpdateConfigurationDefinitionInput.add_member(:local_deployment_execution_role_name, Shapes::ShapeRef.new(shape: UpdateConfigurationDefinitionInputLocalDeploymentExecutionRoleNameString, location_name: "LocalDeploymentExecutionRoleName"))
|
244
|
+
UpdateConfigurationDefinitionInput.add_member(:manager_arn, Shapes::ShapeRef.new(shape: UpdateConfigurationDefinitionInputManagerArnString, required: true, location: "uri", location_name: "ManagerArn"))
|
245
|
+
UpdateConfigurationDefinitionInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ConfigurationParametersMap, location_name: "Parameters"))
|
246
|
+
UpdateConfigurationDefinitionInput.add_member(:type_version, Shapes::ShapeRef.new(shape: UpdateConfigurationDefinitionInputTypeVersionString, location_name: "TypeVersion"))
|
247
|
+
UpdateConfigurationDefinitionInput.struct_class = Types::UpdateConfigurationDefinitionInput
|
248
|
+
|
249
|
+
UpdateConfigurationManagerInput.add_member(:description, Shapes::ShapeRef.new(shape: UpdateConfigurationManagerInputDescriptionString, location_name: "Description"))
|
250
|
+
UpdateConfigurationManagerInput.add_member(:manager_arn, Shapes::ShapeRef.new(shape: UpdateConfigurationManagerInputManagerArnString, required: true, location: "uri", location_name: "ManagerArn"))
|
251
|
+
UpdateConfigurationManagerInput.add_member(:name, Shapes::ShapeRef.new(shape: UpdateConfigurationManagerInputNameString, location_name: "Name"))
|
252
|
+
UpdateConfigurationManagerInput.struct_class = Types::UpdateConfigurationManagerInput
|
253
|
+
|
254
|
+
UpdateServiceSettingsInput.add_member(:explorer_enabling_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "ExplorerEnablingRoleArn"))
|
255
|
+
UpdateServiceSettingsInput.struct_class = Types::UpdateServiceSettingsInput
|
256
|
+
|
257
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
258
|
+
ValidationException.struct_class = Types::ValidationException
|
259
|
+
|
260
|
+
|
261
|
+
# @api private
|
262
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
263
|
+
|
264
|
+
api.version = "2018-05-10"
|
265
|
+
|
266
|
+
api.metadata = {
|
267
|
+
"apiVersion" => "2018-05-10",
|
268
|
+
"auth" => ["aws.auth#sigv4"],
|
269
|
+
"endpointPrefix" => "ssm-quicksetup",
|
270
|
+
"jsonVersion" => "1.1",
|
271
|
+
"protocol" => "rest-json",
|
272
|
+
"protocols" => ["rest-json"],
|
273
|
+
"serviceFullName" => "AWS Systems Manager QuickSetup",
|
274
|
+
"serviceId" => "SSM QuickSetup",
|
275
|
+
"signatureVersion" => "v4",
|
276
|
+
"signingName" => "ssm-quicksetup",
|
277
|
+
"uid" => "ssm-quicksetup-2018-05-10",
|
278
|
+
}
|
279
|
+
|
280
|
+
api.add_operation(:create_configuration_manager, Seahorse::Model::Operation.new.tap do |o|
|
281
|
+
o.name = "CreateConfigurationManager"
|
282
|
+
o.http_method = "POST"
|
283
|
+
o.http_request_uri = "/configurationManager"
|
284
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConfigurationManagerInput)
|
285
|
+
o.output = Shapes::ShapeRef.new(shape: CreateConfigurationManagerOutput)
|
286
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
291
|
+
end)
|
292
|
+
|
293
|
+
api.add_operation(:delete_configuration_manager, Seahorse::Model::Operation.new.tap do |o|
|
294
|
+
o.name = "DeleteConfigurationManager"
|
295
|
+
o.http_method = "DELETE"
|
296
|
+
o.http_request_uri = "/configurationManager/{ManagerArn}"
|
297
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationManagerInput)
|
298
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
299
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
300
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
301
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
302
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
303
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
304
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
305
|
+
end)
|
306
|
+
|
307
|
+
api.add_operation(:get_configuration_manager, Seahorse::Model::Operation.new.tap do |o|
|
308
|
+
o.name = "GetConfigurationManager"
|
309
|
+
o.http_method = "GET"
|
310
|
+
o.http_request_uri = "/configurationManager/{ManagerArn}"
|
311
|
+
o.input = Shapes::ShapeRef.new(shape: GetConfigurationManagerInput)
|
312
|
+
o.output = Shapes::ShapeRef.new(shape: GetConfigurationManagerOutput)
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
315
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
316
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
317
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
319
|
+
end)
|
320
|
+
|
321
|
+
api.add_operation(:get_service_settings, Seahorse::Model::Operation.new.tap do |o|
|
322
|
+
o.name = "GetServiceSettings"
|
323
|
+
o.http_method = "GET"
|
324
|
+
o.http_request_uri = "/serviceSettings"
|
325
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
326
|
+
o.output = Shapes::ShapeRef.new(shape: GetServiceSettingsOutput)
|
327
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
329
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
330
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
331
|
+
end)
|
332
|
+
|
333
|
+
api.add_operation(:list_configuration_managers, Seahorse::Model::Operation.new.tap do |o|
|
334
|
+
o.name = "ListConfigurationManagers"
|
335
|
+
o.http_method = "POST"
|
336
|
+
o.http_request_uri = "/listConfigurationManagers"
|
337
|
+
o.input = Shapes::ShapeRef.new(shape: ListConfigurationManagersInput)
|
338
|
+
o.output = Shapes::ShapeRef.new(shape: ListConfigurationManagersOutput)
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
344
|
+
o[:pager] = Aws::Pager.new(
|
345
|
+
limit_key: "max_items",
|
346
|
+
tokens: {
|
347
|
+
"next_token" => "starting_token"
|
348
|
+
}
|
349
|
+
)
|
350
|
+
end)
|
351
|
+
|
352
|
+
api.add_operation(:list_quick_setup_types, Seahorse::Model::Operation.new.tap do |o|
|
353
|
+
o.name = "ListQuickSetupTypes"
|
354
|
+
o.http_method = "GET"
|
355
|
+
o.http_request_uri = "/listQuickSetupTypes"
|
356
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
357
|
+
o.output = Shapes::ShapeRef.new(shape: ListQuickSetupTypesOutput)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
362
|
+
end)
|
363
|
+
|
364
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
365
|
+
o.name = "ListTagsForResource"
|
366
|
+
o.http_method = "GET"
|
367
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
368
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
369
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
371
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
372
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
373
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
374
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
376
|
+
end)
|
377
|
+
|
378
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
379
|
+
o.name = "TagResource"
|
380
|
+
o.http_method = "PUT"
|
381
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
382
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
383
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
390
|
+
end)
|
391
|
+
|
392
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
393
|
+
o.name = "UntagResource"
|
394
|
+
o.http_method = "DELETE"
|
395
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
396
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
397
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
404
|
+
end)
|
405
|
+
|
406
|
+
api.add_operation(:update_configuration_definition, Seahorse::Model::Operation.new.tap do |o|
|
407
|
+
o.name = "UpdateConfigurationDefinition"
|
408
|
+
o.http_method = "PUT"
|
409
|
+
o.http_request_uri = "/configurationDefinition/{ManagerArn}/{Id}"
|
410
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationDefinitionInput)
|
411
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
418
|
+
end)
|
419
|
+
|
420
|
+
api.add_operation(:update_configuration_manager, Seahorse::Model::Operation.new.tap do |o|
|
421
|
+
o.name = "UpdateConfigurationManager"
|
422
|
+
o.http_method = "PUT"
|
423
|
+
o.http_request_uri = "/configurationManager/{ManagerArn}"
|
424
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationManagerInput)
|
425
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
432
|
+
end)
|
433
|
+
|
434
|
+
api.add_operation(:update_service_settings, Seahorse::Model::Operation.new.tap do |o|
|
435
|
+
o.name = "UpdateServiceSettings"
|
436
|
+
o.http_method = "PUT"
|
437
|
+
o.http_request_uri = "/serviceSettings"
|
438
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateServiceSettingsInput)
|
439
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
445
|
+
end)
|
446
|
+
end
|
447
|
+
|
448
|
+
end
|
449
|
+
end
|
File without changes
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::SSMQuickSetup
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::SSMQuickSetup
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-quicksetup-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-quicksetup-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-quicksetup.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
|
+
end
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ssm-quicksetup.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|