aws-sdk-fis 1.24.0 → 1.26.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.
@@ -26,6 +26,20 @@ module Aws::FIS
26
26
  end
27
27
  end
28
28
 
29
+ class CreateTargetAccountConfiguration
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::FIS::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class DeleteExperimentTemplate
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -40,6 +54,20 @@ module Aws::FIS
40
54
  end
41
55
  end
42
56
 
57
+ class DeleteTargetAccountConfiguration
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::FIS::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
43
71
  class GetAction
44
72
  def self.build(context)
45
73
  unless context.config.regional_endpoint
@@ -68,6 +96,20 @@ module Aws::FIS
68
96
  end
69
97
  end
70
98
 
99
+ class GetExperimentTargetAccountConfiguration
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::FIS::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
71
113
  class GetExperimentTemplate
72
114
  def self.build(context)
73
115
  unless context.config.regional_endpoint
@@ -82,6 +124,20 @@ module Aws::FIS
82
124
  end
83
125
  end
84
126
 
127
+ class GetTargetAccountConfiguration
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::FIS::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
85
141
  class GetTargetResourceType
86
142
  def self.build(context)
87
143
  unless context.config.regional_endpoint
@@ -110,6 +166,34 @@ module Aws::FIS
110
166
  end
111
167
  end
112
168
 
169
+ class ListExperimentResolvedTargets
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::FIS::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
183
+ class ListExperimentTargetAccountConfigurations
184
+ def self.build(context)
185
+ unless context.config.regional_endpoint
186
+ endpoint = context.config.endpoint.to_s
187
+ end
188
+ Aws::FIS::EndpointParameters.new(
189
+ region: context.config.region,
190
+ use_dual_stack: context.config.use_dualstack_endpoint,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
113
197
  class ListExperimentTemplates
114
198
  def self.build(context)
115
199
  unless context.config.regional_endpoint
@@ -152,6 +236,20 @@ module Aws::FIS
152
236
  end
153
237
  end
154
238
 
239
+ class ListTargetAccountConfigurations
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::FIS::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ )
250
+ end
251
+ end
252
+
155
253
  class ListTargetResourceTypes
156
254
  def self.build(context)
157
255
  unless context.config.regional_endpoint
@@ -236,5 +334,19 @@ module Aws::FIS
236
334
  end
237
335
  end
238
336
 
337
+ class UpdateTargetAccountConfiguration
338
+ def self.build(context)
339
+ unless context.config.regional_endpoint
340
+ endpoint = context.config.endpoint.to_s
341
+ end
342
+ Aws::FIS::EndpointParameters.new(
343
+ region: context.config.region,
344
+ use_dual_stack: context.config.use_dualstack_endpoint,
345
+ use_fips: context.config.use_fips_endpoint,
346
+ endpoint: endpoint,
347
+ )
348
+ end
349
+ end
350
+
239
351
  end
240
352
  end
@@ -25,16 +25,17 @@ module Aws::FIS
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -58,24 +59,38 @@ module Aws::FIS
58
59
  case context.operation_name
59
60
  when :create_experiment_template
60
61
  Aws::FIS::Endpoints::CreateExperimentTemplate.build(context)
62
+ when :create_target_account_configuration
63
+ Aws::FIS::Endpoints::CreateTargetAccountConfiguration.build(context)
61
64
  when :delete_experiment_template
62
65
  Aws::FIS::Endpoints::DeleteExperimentTemplate.build(context)
66
+ when :delete_target_account_configuration
67
+ Aws::FIS::Endpoints::DeleteTargetAccountConfiguration.build(context)
63
68
  when :get_action
64
69
  Aws::FIS::Endpoints::GetAction.build(context)
65
70
  when :get_experiment
66
71
  Aws::FIS::Endpoints::GetExperiment.build(context)
72
+ when :get_experiment_target_account_configuration
73
+ Aws::FIS::Endpoints::GetExperimentTargetAccountConfiguration.build(context)
67
74
  when :get_experiment_template
68
75
  Aws::FIS::Endpoints::GetExperimentTemplate.build(context)
76
+ when :get_target_account_configuration
77
+ Aws::FIS::Endpoints::GetTargetAccountConfiguration.build(context)
69
78
  when :get_target_resource_type
70
79
  Aws::FIS::Endpoints::GetTargetResourceType.build(context)
71
80
  when :list_actions
72
81
  Aws::FIS::Endpoints::ListActions.build(context)
82
+ when :list_experiment_resolved_targets
83
+ Aws::FIS::Endpoints::ListExperimentResolvedTargets.build(context)
84
+ when :list_experiment_target_account_configurations
85
+ Aws::FIS::Endpoints::ListExperimentTargetAccountConfigurations.build(context)
73
86
  when :list_experiment_templates
74
87
  Aws::FIS::Endpoints::ListExperimentTemplates.build(context)
75
88
  when :list_experiments
76
89
  Aws::FIS::Endpoints::ListExperiments.build(context)
77
90
  when :list_tags_for_resource
78
91
  Aws::FIS::Endpoints::ListTagsForResource.build(context)
92
+ when :list_target_account_configurations
93
+ Aws::FIS::Endpoints::ListTargetAccountConfigurations.build(context)
79
94
  when :list_target_resource_types
80
95
  Aws::FIS::Endpoints::ListTargetResourceTypes.build(context)
81
96
  when :start_experiment
@@ -88,6 +103,8 @@ module Aws::FIS
88
103
  Aws::FIS::Endpoints::UntagResource.build(context)
89
104
  when :update_experiment_template
90
105
  Aws::FIS::Endpoints::UpdateExperimentTemplate.build(context)
106
+ when :update_target_account_configuration
107
+ Aws::FIS::Endpoints::UpdateTargetAccountConfiguration.build(context)
91
108
  end
92
109
  end
93
110
  end