aws-sdk-vpclattice 1.23.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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::VPCLattice::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,115 +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 :batch_update_rule
74
- Aws::VPCLattice::Endpoints::BatchUpdateRule.build(context)
75
- when :create_access_log_subscription
76
- Aws::VPCLattice::Endpoints::CreateAccessLogSubscription.build(context)
77
- when :create_listener
78
- Aws::VPCLattice::Endpoints::CreateListener.build(context)
79
- when :create_rule
80
- Aws::VPCLattice::Endpoints::CreateRule.build(context)
81
- when :create_service
82
- Aws::VPCLattice::Endpoints::CreateService.build(context)
83
- when :create_service_network
84
- Aws::VPCLattice::Endpoints::CreateServiceNetwork.build(context)
85
- when :create_service_network_service_association
86
- Aws::VPCLattice::Endpoints::CreateServiceNetworkServiceAssociation.build(context)
87
- when :create_service_network_vpc_association
88
- Aws::VPCLattice::Endpoints::CreateServiceNetworkVpcAssociation.build(context)
89
- when :create_target_group
90
- Aws::VPCLattice::Endpoints::CreateTargetGroup.build(context)
91
- when :delete_access_log_subscription
92
- Aws::VPCLattice::Endpoints::DeleteAccessLogSubscription.build(context)
93
- when :delete_auth_policy
94
- Aws::VPCLattice::Endpoints::DeleteAuthPolicy.build(context)
95
- when :delete_listener
96
- Aws::VPCLattice::Endpoints::DeleteListener.build(context)
97
- when :delete_resource_policy
98
- Aws::VPCLattice::Endpoints::DeleteResourcePolicy.build(context)
99
- when :delete_rule
100
- Aws::VPCLattice::Endpoints::DeleteRule.build(context)
101
- when :delete_service
102
- Aws::VPCLattice::Endpoints::DeleteService.build(context)
103
- when :delete_service_network
104
- Aws::VPCLattice::Endpoints::DeleteServiceNetwork.build(context)
105
- when :delete_service_network_service_association
106
- Aws::VPCLattice::Endpoints::DeleteServiceNetworkServiceAssociation.build(context)
107
- when :delete_service_network_vpc_association
108
- Aws::VPCLattice::Endpoints::DeleteServiceNetworkVpcAssociation.build(context)
109
- when :delete_target_group
110
- Aws::VPCLattice::Endpoints::DeleteTargetGroup.build(context)
111
- when :deregister_targets
112
- Aws::VPCLattice::Endpoints::DeregisterTargets.build(context)
113
- when :get_access_log_subscription
114
- Aws::VPCLattice::Endpoints::GetAccessLogSubscription.build(context)
115
- when :get_auth_policy
116
- Aws::VPCLattice::Endpoints::GetAuthPolicy.build(context)
117
- when :get_listener
118
- Aws::VPCLattice::Endpoints::GetListener.build(context)
119
- when :get_resource_policy
120
- Aws::VPCLattice::Endpoints::GetResourcePolicy.build(context)
121
- when :get_rule
122
- Aws::VPCLattice::Endpoints::GetRule.build(context)
123
- when :get_service
124
- Aws::VPCLattice::Endpoints::GetService.build(context)
125
- when :get_service_network
126
- Aws::VPCLattice::Endpoints::GetServiceNetwork.build(context)
127
- when :get_service_network_service_association
128
- Aws::VPCLattice::Endpoints::GetServiceNetworkServiceAssociation.build(context)
129
- when :get_service_network_vpc_association
130
- Aws::VPCLattice::Endpoints::GetServiceNetworkVpcAssociation.build(context)
131
- when :get_target_group
132
- Aws::VPCLattice::Endpoints::GetTargetGroup.build(context)
133
- when :list_access_log_subscriptions
134
- Aws::VPCLattice::Endpoints::ListAccessLogSubscriptions.build(context)
135
- when :list_listeners
136
- Aws::VPCLattice::Endpoints::ListListeners.build(context)
137
- when :list_rules
138
- Aws::VPCLattice::Endpoints::ListRules.build(context)
139
- when :list_service_network_service_associations
140
- Aws::VPCLattice::Endpoints::ListServiceNetworkServiceAssociations.build(context)
141
- when :list_service_network_vpc_associations
142
- Aws::VPCLattice::Endpoints::ListServiceNetworkVpcAssociations.build(context)
143
- when :list_service_networks
144
- Aws::VPCLattice::Endpoints::ListServiceNetworks.build(context)
145
- when :list_services
146
- Aws::VPCLattice::Endpoints::ListServices.build(context)
147
- when :list_tags_for_resource
148
- Aws::VPCLattice::Endpoints::ListTagsForResource.build(context)
149
- when :list_target_groups
150
- Aws::VPCLattice::Endpoints::ListTargetGroups.build(context)
151
- when :list_targets
152
- Aws::VPCLattice::Endpoints::ListTargets.build(context)
153
- when :put_auth_policy
154
- Aws::VPCLattice::Endpoints::PutAuthPolicy.build(context)
155
- when :put_resource_policy
156
- Aws::VPCLattice::Endpoints::PutResourcePolicy.build(context)
157
- when :register_targets
158
- Aws::VPCLattice::Endpoints::RegisterTargets.build(context)
159
- when :tag_resource
160
- Aws::VPCLattice::Endpoints::TagResource.build(context)
161
- when :untag_resource
162
- Aws::VPCLattice::Endpoints::UntagResource.build(context)
163
- when :update_access_log_subscription
164
- Aws::VPCLattice::Endpoints::UpdateAccessLogSubscription.build(context)
165
- when :update_listener
166
- Aws::VPCLattice::Endpoints::UpdateListener.build(context)
167
- when :update_rule
168
- Aws::VPCLattice::Endpoints::UpdateRule.build(context)
169
- when :update_service
170
- Aws::VPCLattice::Endpoints::UpdateService.build(context)
171
- when :update_service_network
172
- Aws::VPCLattice::Endpoints::UpdateServiceNetwork.build(context)
173
- when :update_service_network_vpc_association
174
- Aws::VPCLattice::Endpoints::UpdateServiceNetworkVpcAssociation.build(context)
175
- when :update_target_group
176
- Aws::VPCLattice::Endpoints::UpdateTargetGroup.build(context)
177
- end
178
- end
179
70
  end
180
71
 
181
72
  def add_handlers(handlers, _config)