aws-sdk-ecs 1.162.0 → 1.173.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +499 -81
- data/lib/aws-sdk-ecs/client_api.rb +205 -1
- data/lib/aws-sdk-ecs/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-ecs/endpoints.rb +2 -614
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +1 -118
- data/lib/aws-sdk-ecs/types.rb +1026 -132
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +68 -9
- data/sig/types.rbs +154 -3
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::ECS::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,123 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :create_capacity_provider
|
74
|
-
Aws::ECS::Endpoints::CreateCapacityProvider.build(context)
|
75
|
-
when :create_cluster
|
76
|
-
Aws::ECS::Endpoints::CreateCluster.build(context)
|
77
|
-
when :create_service
|
78
|
-
Aws::ECS::Endpoints::CreateService.build(context)
|
79
|
-
when :create_task_set
|
80
|
-
Aws::ECS::Endpoints::CreateTaskSet.build(context)
|
81
|
-
when :delete_account_setting
|
82
|
-
Aws::ECS::Endpoints::DeleteAccountSetting.build(context)
|
83
|
-
when :delete_attributes
|
84
|
-
Aws::ECS::Endpoints::DeleteAttributes.build(context)
|
85
|
-
when :delete_capacity_provider
|
86
|
-
Aws::ECS::Endpoints::DeleteCapacityProvider.build(context)
|
87
|
-
when :delete_cluster
|
88
|
-
Aws::ECS::Endpoints::DeleteCluster.build(context)
|
89
|
-
when :delete_service
|
90
|
-
Aws::ECS::Endpoints::DeleteService.build(context)
|
91
|
-
when :delete_task_definitions
|
92
|
-
Aws::ECS::Endpoints::DeleteTaskDefinitions.build(context)
|
93
|
-
when :delete_task_set
|
94
|
-
Aws::ECS::Endpoints::DeleteTaskSet.build(context)
|
95
|
-
when :deregister_container_instance
|
96
|
-
Aws::ECS::Endpoints::DeregisterContainerInstance.build(context)
|
97
|
-
when :deregister_task_definition
|
98
|
-
Aws::ECS::Endpoints::DeregisterTaskDefinition.build(context)
|
99
|
-
when :describe_capacity_providers
|
100
|
-
Aws::ECS::Endpoints::DescribeCapacityProviders.build(context)
|
101
|
-
when :describe_clusters
|
102
|
-
Aws::ECS::Endpoints::DescribeClusters.build(context)
|
103
|
-
when :describe_container_instances
|
104
|
-
Aws::ECS::Endpoints::DescribeContainerInstances.build(context)
|
105
|
-
when :describe_services
|
106
|
-
Aws::ECS::Endpoints::DescribeServices.build(context)
|
107
|
-
when :describe_task_definition
|
108
|
-
Aws::ECS::Endpoints::DescribeTaskDefinition.build(context)
|
109
|
-
when :describe_task_sets
|
110
|
-
Aws::ECS::Endpoints::DescribeTaskSets.build(context)
|
111
|
-
when :describe_tasks
|
112
|
-
Aws::ECS::Endpoints::DescribeTasks.build(context)
|
113
|
-
when :discover_poll_endpoint
|
114
|
-
Aws::ECS::Endpoints::DiscoverPollEndpoint.build(context)
|
115
|
-
when :execute_command
|
116
|
-
Aws::ECS::Endpoints::ExecuteCommand.build(context)
|
117
|
-
when :get_task_protection
|
118
|
-
Aws::ECS::Endpoints::GetTaskProtection.build(context)
|
119
|
-
when :list_account_settings
|
120
|
-
Aws::ECS::Endpoints::ListAccountSettings.build(context)
|
121
|
-
when :list_attributes
|
122
|
-
Aws::ECS::Endpoints::ListAttributes.build(context)
|
123
|
-
when :list_clusters
|
124
|
-
Aws::ECS::Endpoints::ListClusters.build(context)
|
125
|
-
when :list_container_instances
|
126
|
-
Aws::ECS::Endpoints::ListContainerInstances.build(context)
|
127
|
-
when :list_services
|
128
|
-
Aws::ECS::Endpoints::ListServices.build(context)
|
129
|
-
when :list_services_by_namespace
|
130
|
-
Aws::ECS::Endpoints::ListServicesByNamespace.build(context)
|
131
|
-
when :list_tags_for_resource
|
132
|
-
Aws::ECS::Endpoints::ListTagsForResource.build(context)
|
133
|
-
when :list_task_definition_families
|
134
|
-
Aws::ECS::Endpoints::ListTaskDefinitionFamilies.build(context)
|
135
|
-
when :list_task_definitions
|
136
|
-
Aws::ECS::Endpoints::ListTaskDefinitions.build(context)
|
137
|
-
when :list_tasks
|
138
|
-
Aws::ECS::Endpoints::ListTasks.build(context)
|
139
|
-
when :put_account_setting
|
140
|
-
Aws::ECS::Endpoints::PutAccountSetting.build(context)
|
141
|
-
when :put_account_setting_default
|
142
|
-
Aws::ECS::Endpoints::PutAccountSettingDefault.build(context)
|
143
|
-
when :put_attributes
|
144
|
-
Aws::ECS::Endpoints::PutAttributes.build(context)
|
145
|
-
when :put_cluster_capacity_providers
|
146
|
-
Aws::ECS::Endpoints::PutClusterCapacityProviders.build(context)
|
147
|
-
when :register_container_instance
|
148
|
-
Aws::ECS::Endpoints::RegisterContainerInstance.build(context)
|
149
|
-
when :register_task_definition
|
150
|
-
Aws::ECS::Endpoints::RegisterTaskDefinition.build(context)
|
151
|
-
when :run_task
|
152
|
-
Aws::ECS::Endpoints::RunTask.build(context)
|
153
|
-
when :start_task
|
154
|
-
Aws::ECS::Endpoints::StartTask.build(context)
|
155
|
-
when :stop_task
|
156
|
-
Aws::ECS::Endpoints::StopTask.build(context)
|
157
|
-
when :submit_attachment_state_changes
|
158
|
-
Aws::ECS::Endpoints::SubmitAttachmentStateChanges.build(context)
|
159
|
-
when :submit_container_state_change
|
160
|
-
Aws::ECS::Endpoints::SubmitContainerStateChange.build(context)
|
161
|
-
when :submit_task_state_change
|
162
|
-
Aws::ECS::Endpoints::SubmitTaskStateChange.build(context)
|
163
|
-
when :tag_resource
|
164
|
-
Aws::ECS::Endpoints::TagResource.build(context)
|
165
|
-
when :untag_resource
|
166
|
-
Aws::ECS::Endpoints::UntagResource.build(context)
|
167
|
-
when :update_capacity_provider
|
168
|
-
Aws::ECS::Endpoints::UpdateCapacityProvider.build(context)
|
169
|
-
when :update_cluster
|
170
|
-
Aws::ECS::Endpoints::UpdateCluster.build(context)
|
171
|
-
when :update_cluster_settings
|
172
|
-
Aws::ECS::Endpoints::UpdateClusterSettings.build(context)
|
173
|
-
when :update_container_agent
|
174
|
-
Aws::ECS::Endpoints::UpdateContainerAgent.build(context)
|
175
|
-
when :update_container_instances_state
|
176
|
-
Aws::ECS::Endpoints::UpdateContainerInstancesState.build(context)
|
177
|
-
when :update_service
|
178
|
-
Aws::ECS::Endpoints::UpdateService.build(context)
|
179
|
-
when :update_service_primary_task_set
|
180
|
-
Aws::ECS::Endpoints::UpdateServicePrimaryTaskSet.build(context)
|
181
|
-
when :update_task_protection
|
182
|
-
Aws::ECS::Endpoints::UpdateTaskProtection.build(context)
|
183
|
-
when :update_task_set
|
184
|
-
Aws::ECS::Endpoints::UpdateTaskSet.build(context)
|
185
|
-
end
|
186
|
-
end
|
187
70
|
end
|
188
71
|
|
189
72
|
def add_handlers(handlers, _config)
|