aws-sdk-kms 1.94.0 → 1.118.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::KMS::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,117 +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 :cancel_key_deletion
74
- Aws::KMS::Endpoints::CancelKeyDeletion.build(context)
75
- when :connect_custom_key_store
76
- Aws::KMS::Endpoints::ConnectCustomKeyStore.build(context)
77
- when :create_alias
78
- Aws::KMS::Endpoints::CreateAlias.build(context)
79
- when :create_custom_key_store
80
- Aws::KMS::Endpoints::CreateCustomKeyStore.build(context)
81
- when :create_grant
82
- Aws::KMS::Endpoints::CreateGrant.build(context)
83
- when :create_key
84
- Aws::KMS::Endpoints::CreateKey.build(context)
85
- when :decrypt
86
- Aws::KMS::Endpoints::Decrypt.build(context)
87
- when :delete_alias
88
- Aws::KMS::Endpoints::DeleteAlias.build(context)
89
- when :delete_custom_key_store
90
- Aws::KMS::Endpoints::DeleteCustomKeyStore.build(context)
91
- when :delete_imported_key_material
92
- Aws::KMS::Endpoints::DeleteImportedKeyMaterial.build(context)
93
- when :derive_shared_secret
94
- Aws::KMS::Endpoints::DeriveSharedSecret.build(context)
95
- when :describe_custom_key_stores
96
- Aws::KMS::Endpoints::DescribeCustomKeyStores.build(context)
97
- when :describe_key
98
- Aws::KMS::Endpoints::DescribeKey.build(context)
99
- when :disable_key
100
- Aws::KMS::Endpoints::DisableKey.build(context)
101
- when :disable_key_rotation
102
- Aws::KMS::Endpoints::DisableKeyRotation.build(context)
103
- when :disconnect_custom_key_store
104
- Aws::KMS::Endpoints::DisconnectCustomKeyStore.build(context)
105
- when :enable_key
106
- Aws::KMS::Endpoints::EnableKey.build(context)
107
- when :enable_key_rotation
108
- Aws::KMS::Endpoints::EnableKeyRotation.build(context)
109
- when :encrypt
110
- Aws::KMS::Endpoints::Encrypt.build(context)
111
- when :generate_data_key
112
- Aws::KMS::Endpoints::GenerateDataKey.build(context)
113
- when :generate_data_key_pair
114
- Aws::KMS::Endpoints::GenerateDataKeyPair.build(context)
115
- when :generate_data_key_pair_without_plaintext
116
- Aws::KMS::Endpoints::GenerateDataKeyPairWithoutPlaintext.build(context)
117
- when :generate_data_key_without_plaintext
118
- Aws::KMS::Endpoints::GenerateDataKeyWithoutPlaintext.build(context)
119
- when :generate_mac
120
- Aws::KMS::Endpoints::GenerateMac.build(context)
121
- when :generate_random
122
- Aws::KMS::Endpoints::GenerateRandom.build(context)
123
- when :get_key_policy
124
- Aws::KMS::Endpoints::GetKeyPolicy.build(context)
125
- when :get_key_rotation_status
126
- Aws::KMS::Endpoints::GetKeyRotationStatus.build(context)
127
- when :get_parameters_for_import
128
- Aws::KMS::Endpoints::GetParametersForImport.build(context)
129
- when :get_public_key
130
- Aws::KMS::Endpoints::GetPublicKey.build(context)
131
- when :import_key_material
132
- Aws::KMS::Endpoints::ImportKeyMaterial.build(context)
133
- when :list_aliases
134
- Aws::KMS::Endpoints::ListAliases.build(context)
135
- when :list_grants
136
- Aws::KMS::Endpoints::ListGrants.build(context)
137
- when :list_key_policies
138
- Aws::KMS::Endpoints::ListKeyPolicies.build(context)
139
- when :list_key_rotations
140
- Aws::KMS::Endpoints::ListKeyRotations.build(context)
141
- when :list_keys
142
- Aws::KMS::Endpoints::ListKeys.build(context)
143
- when :list_resource_tags
144
- Aws::KMS::Endpoints::ListResourceTags.build(context)
145
- when :list_retirable_grants
146
- Aws::KMS::Endpoints::ListRetirableGrants.build(context)
147
- when :put_key_policy
148
- Aws::KMS::Endpoints::PutKeyPolicy.build(context)
149
- when :re_encrypt
150
- Aws::KMS::Endpoints::ReEncrypt.build(context)
151
- when :replicate_key
152
- Aws::KMS::Endpoints::ReplicateKey.build(context)
153
- when :retire_grant
154
- Aws::KMS::Endpoints::RetireGrant.build(context)
155
- when :revoke_grant
156
- Aws::KMS::Endpoints::RevokeGrant.build(context)
157
- when :rotate_key_on_demand
158
- Aws::KMS::Endpoints::RotateKeyOnDemand.build(context)
159
- when :schedule_key_deletion
160
- Aws::KMS::Endpoints::ScheduleKeyDeletion.build(context)
161
- when :sign
162
- Aws::KMS::Endpoints::Sign.build(context)
163
- when :tag_resource
164
- Aws::KMS::Endpoints::TagResource.build(context)
165
- when :untag_resource
166
- Aws::KMS::Endpoints::UntagResource.build(context)
167
- when :update_alias
168
- Aws::KMS::Endpoints::UpdateAlias.build(context)
169
- when :update_custom_key_store
170
- Aws::KMS::Endpoints::UpdateCustomKeyStore.build(context)
171
- when :update_key_description
172
- Aws::KMS::Endpoints::UpdateKeyDescription.build(context)
173
- when :update_primary_region
174
- Aws::KMS::Endpoints::UpdatePrimaryRegion.build(context)
175
- when :verify
176
- Aws::KMS::Endpoints::Verify.build(context)
177
- when :verify_mac
178
- Aws::KMS::Endpoints::VerifyMac.build(context)
179
- end
180
- end
181
70
  end
182
71
 
183
72
  def add_handlers(handlers, _config)