aws-sdk-datasync 1.89.0 → 1.91.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.
@@ -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::DataSync::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,131 +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 :add_storage_system
74
- Aws::DataSync::Endpoints::AddStorageSystem.build(context)
75
- when :cancel_task_execution
76
- Aws::DataSync::Endpoints::CancelTaskExecution.build(context)
77
- when :create_agent
78
- Aws::DataSync::Endpoints::CreateAgent.build(context)
79
- when :create_location_azure_blob
80
- Aws::DataSync::Endpoints::CreateLocationAzureBlob.build(context)
81
- when :create_location_efs
82
- Aws::DataSync::Endpoints::CreateLocationEfs.build(context)
83
- when :create_location_fsx_lustre
84
- Aws::DataSync::Endpoints::CreateLocationFsxLustre.build(context)
85
- when :create_location_fsx_ontap
86
- Aws::DataSync::Endpoints::CreateLocationFsxOntap.build(context)
87
- when :create_location_fsx_open_zfs
88
- Aws::DataSync::Endpoints::CreateLocationFsxOpenZfs.build(context)
89
- when :create_location_fsx_windows
90
- Aws::DataSync::Endpoints::CreateLocationFsxWindows.build(context)
91
- when :create_location_hdfs
92
- Aws::DataSync::Endpoints::CreateLocationHdfs.build(context)
93
- when :create_location_nfs
94
- Aws::DataSync::Endpoints::CreateLocationNfs.build(context)
95
- when :create_location_object_storage
96
- Aws::DataSync::Endpoints::CreateLocationObjectStorage.build(context)
97
- when :create_location_s3
98
- Aws::DataSync::Endpoints::CreateLocationS3.build(context)
99
- when :create_location_smb
100
- Aws::DataSync::Endpoints::CreateLocationSmb.build(context)
101
- when :create_task
102
- Aws::DataSync::Endpoints::CreateTask.build(context)
103
- when :delete_agent
104
- Aws::DataSync::Endpoints::DeleteAgent.build(context)
105
- when :delete_location
106
- Aws::DataSync::Endpoints::DeleteLocation.build(context)
107
- when :delete_task
108
- Aws::DataSync::Endpoints::DeleteTask.build(context)
109
- when :describe_agent
110
- Aws::DataSync::Endpoints::DescribeAgent.build(context)
111
- when :describe_discovery_job
112
- Aws::DataSync::Endpoints::DescribeDiscoveryJob.build(context)
113
- when :describe_location_azure_blob
114
- Aws::DataSync::Endpoints::DescribeLocationAzureBlob.build(context)
115
- when :describe_location_efs
116
- Aws::DataSync::Endpoints::DescribeLocationEfs.build(context)
117
- when :describe_location_fsx_lustre
118
- Aws::DataSync::Endpoints::DescribeLocationFsxLustre.build(context)
119
- when :describe_location_fsx_ontap
120
- Aws::DataSync::Endpoints::DescribeLocationFsxOntap.build(context)
121
- when :describe_location_fsx_open_zfs
122
- Aws::DataSync::Endpoints::DescribeLocationFsxOpenZfs.build(context)
123
- when :describe_location_fsx_windows
124
- Aws::DataSync::Endpoints::DescribeLocationFsxWindows.build(context)
125
- when :describe_location_hdfs
126
- Aws::DataSync::Endpoints::DescribeLocationHdfs.build(context)
127
- when :describe_location_nfs
128
- Aws::DataSync::Endpoints::DescribeLocationNfs.build(context)
129
- when :describe_location_object_storage
130
- Aws::DataSync::Endpoints::DescribeLocationObjectStorage.build(context)
131
- when :describe_location_s3
132
- Aws::DataSync::Endpoints::DescribeLocationS3.build(context)
133
- when :describe_location_smb
134
- Aws::DataSync::Endpoints::DescribeLocationSmb.build(context)
135
- when :describe_storage_system
136
- Aws::DataSync::Endpoints::DescribeStorageSystem.build(context)
137
- when :describe_storage_system_resource_metrics
138
- Aws::DataSync::Endpoints::DescribeStorageSystemResourceMetrics.build(context)
139
- when :describe_storage_system_resources
140
- Aws::DataSync::Endpoints::DescribeStorageSystemResources.build(context)
141
- when :describe_task
142
- Aws::DataSync::Endpoints::DescribeTask.build(context)
143
- when :describe_task_execution
144
- Aws::DataSync::Endpoints::DescribeTaskExecution.build(context)
145
- when :generate_recommendations
146
- Aws::DataSync::Endpoints::GenerateRecommendations.build(context)
147
- when :list_agents
148
- Aws::DataSync::Endpoints::ListAgents.build(context)
149
- when :list_discovery_jobs
150
- Aws::DataSync::Endpoints::ListDiscoveryJobs.build(context)
151
- when :list_locations
152
- Aws::DataSync::Endpoints::ListLocations.build(context)
153
- when :list_storage_systems
154
- Aws::DataSync::Endpoints::ListStorageSystems.build(context)
155
- when :list_tags_for_resource
156
- Aws::DataSync::Endpoints::ListTagsForResource.build(context)
157
- when :list_task_executions
158
- Aws::DataSync::Endpoints::ListTaskExecutions.build(context)
159
- when :list_tasks
160
- Aws::DataSync::Endpoints::ListTasks.build(context)
161
- when :remove_storage_system
162
- Aws::DataSync::Endpoints::RemoveStorageSystem.build(context)
163
- when :start_discovery_job
164
- Aws::DataSync::Endpoints::StartDiscoveryJob.build(context)
165
- when :start_task_execution
166
- Aws::DataSync::Endpoints::StartTaskExecution.build(context)
167
- when :stop_discovery_job
168
- Aws::DataSync::Endpoints::StopDiscoveryJob.build(context)
169
- when :tag_resource
170
- Aws::DataSync::Endpoints::TagResource.build(context)
171
- when :untag_resource
172
- Aws::DataSync::Endpoints::UntagResource.build(context)
173
- when :update_agent
174
- Aws::DataSync::Endpoints::UpdateAgent.build(context)
175
- when :update_discovery_job
176
- Aws::DataSync::Endpoints::UpdateDiscoveryJob.build(context)
177
- when :update_location_azure_blob
178
- Aws::DataSync::Endpoints::UpdateLocationAzureBlob.build(context)
179
- when :update_location_hdfs
180
- Aws::DataSync::Endpoints::UpdateLocationHdfs.build(context)
181
- when :update_location_nfs
182
- Aws::DataSync::Endpoints::UpdateLocationNfs.build(context)
183
- when :update_location_object_storage
184
- Aws::DataSync::Endpoints::UpdateLocationObjectStorage.build(context)
185
- when :update_location_smb
186
- Aws::DataSync::Endpoints::UpdateLocationSmb.build(context)
187
- when :update_storage_system
188
- Aws::DataSync::Endpoints::UpdateStorageSystem.build(context)
189
- when :update_task
190
- Aws::DataSync::Endpoints::UpdateTask.build(context)
191
- when :update_task_execution
192
- Aws::DataSync::Endpoints::UpdateTaskExecution.build(context)
193
- end
194
- end
195
70
  end
196
71
 
197
72
  def add_handlers(handlers, _config)