diff --git a/AWS_SERVICES_SUPPORTED.md b/AWS_SERVICES_SUPPORTED.md
index 588faa2633b0..2c014c5f51a4 100644
--- a/AWS_SERVICES_SUPPORTED.md
+++ b/AWS_SERVICES_SUPPORTED.md
@@ -14,6 +14,8 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [X] Amazon Lambda
- [x] [Amazon S3](https://github.com/awslabs/aws-sdk-rust/issues/16)
- [x] [Amazon SSM](https://github.com/awslabs/aws-sdk-rust/issues/22)
+- [x] [Amazon SQS](https://github.com/awslabs/aws-sdk-rust/issues/19)
+- [x] [Amazon ECS](https://github.com/awslabs/aws-sdk-rust/issues/28)
------
- [ ] Amazon Access Analyzer
@@ -88,7 +90,6 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [ ] [Amazon Ec2](https://github.com/awslabs/aws-sdk-rust/issues/18)
- [ ] Amazon Ec2-Instance-Connect
- [ ] [Amazon ECR](https://github.com/awslabs/aws-sdk-rust/issues/34)
-- [ ] [Amazon ECS](https://github.com/awslabs/aws-sdk-rust/issues/28)
- [ ] Amazon Eks
- [ ] Amazon Elasticache
- [ ] Amazon Elastic Beanstalk
@@ -218,7 +219,6 @@ The alpha SDK for Rust currently supports the checked services below. If you wan
- [ ] Amazon Sms-Voice
- [ ] Amazon Snowball
- [ ] [Amazon SNS](https://github.com/awslabs/aws-sdk-rust/issues/26)
-- [ ] [Amazon SQS](https://github.com/awslabs/aws-sdk-rust/issues/19)
- [ ] Amazon SSO
- [ ] Amazon Sso-Admin
- [ ] Amazon Sso-Oidc
diff --git a/README.md b/README.md
index 68244ef06437..6a0a1ab2a173 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ The new AWS SDK for Rust is built with one crate per AWS service. [Tokio](https:
```toml
[dependencies]
-dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.4-alpha", package = "aws-sdk-dynamodb" }
+dynamodb = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.6-alpha", package = "aws-sdk-dynamodb" }
tokio = { version = "1", features = ["full"] }
```
3. Provide your AWS credentials as environment variables:
diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml
index fb69c5c5ab5b..6eecf8132520 100644
--- a/sdk/Cargo.toml
+++ b/sdk/Cargo.toml
@@ -1,4 +1,4 @@
[workspace]
members = [
- "qldb","qldbsession","secretsmanager","kms","dynamodb","kinesis","polly","ssm","lambda","apigateway","s3","smithy-types","smithy-xml","smithy-http","smithy-http-tower","protocol-test-helpers","aws-auth","aws-endpoint","aws-types","aws-hyper","aws-sig-auth","aws-http","examples/lambda-list-functions","examples/polly-synthesize-speech","examples/secretsmanager-helloworld","examples/polly-describe-voices","examples/ssm-put-parameter","examples/polly-list-lexicons","examples/kinesis-create-stream","examples/polly-helloworld","examples/lambda-invoke-function","examples/kinesis-list-streams","examples/qldbsession-helloworld","examples/kinesis-describe-stream","examples/dynamo-create-table","examples/dynamo-list-items","examples/kinesis-put-record","examples/secretsmanager-get-secret-value","examples/dynamo-movies","examples/secretsmanager-create-secret","examples/dynamo-delete-item","examples/kinesis-delete-stream","examples/secretsmanager-list-secrets","examples/s3-helloworld","examples/dynamo-add-item","examples/dynamo-delete-table","examples/polly-put-lexicon","examples/dynamo-helloworld","examples/dynamo-list-tables","examples/kms-helloworld","examples/qldb-list-ledgers"
+ "qldb","qldbsession","sqs","secretsmanager","kms","dynamodb","kinesis","polly","ecs","ssm","lambda","apigateway","s3","smithy-types","smithy-json","smithy-query","smithy-xml","smithy-http","smithy-http-tower","protocol-test-helpers","aws-auth","aws-endpoint","aws-types","aws-hyper","aws-sig-auth","aws-http","examples/lambda-list-functions","examples/polly-synthesize-speech","examples/secretsmanager-helloworld","examples/polly-describe-voices","examples/ssm-put-parameter","examples/polly-list-lexicons","examples/kinesis-create-stream","examples/polly-helloworld","examples/lambda-invoke-function","examples/ecs","examples/sqs","examples/kinesis-list-streams","examples/qldbsession-helloworld","examples/kinesis-describe-stream","examples/dynamo-create-table","examples/dynamo-list-items","examples/kinesis-put-record","examples/secretsmanager-get-secret-value","examples/dynamo-movies","examples/secretsmanager-create-secret","examples/dynamo-delete-item","examples/kinesis-delete-stream","examples/secretsmanager-list-secrets","examples/s3-helloworld","examples/dynamo-add-item","examples/dynamo-delete-table","examples/polly-put-lexicon","examples/dynamo-helloworld","examples/dynamo-list-tables","examples/kms-helloworld","examples/qldb-list-ledgers"
]
\ No newline at end of file
diff --git a/sdk/apigateway/Cargo.toml b/sdk/apigateway/Cargo.toml
index 07e08f86925d..66760e0237d6 100644
--- a/sdk/apigateway/Cargo.toml
+++ b/sdk/apigateway/Cargo.toml
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-apigateway"
-version = "0.0.5-alpha"
+version = "0.0.6-alpha"
description = "Amazon API Gateway\n
Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
"
authors = ["AWS Rust SDK Team ", "Russell Cohen "]
license = "Apache-2.0"
@@ -34,6 +34,8 @@ version = "1"
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
+[dependencies.smithy-json]
+path = "..//smithy-json"
[features]
client = ["aws-hyper"]
rustls = ["aws-hyper/rustls"]
diff --git a/sdk/apigateway/src/aws_json_errors.rs b/sdk/apigateway/src/aws_json_errors.rs
index 15922370daa5..d8c9e67c9716 100644
--- a/sdk/apigateway/src/aws_json_errors.rs
+++ b/sdk/apigateway/src/aws_json_errors.rs
@@ -46,26 +46,30 @@ pub fn parse_generic_error(
response: &http::Response,
body: &serde_json::Value,
) -> smithy_types::Error {
+ let mut err_builder = smithy_types::Error::builder();
let code = error_type_from_header(&response)
.unwrap_or(Some("header was not valid UTF-8"))
.or_else(|| error_type_from_body(body))
- .map(|s| sanitize_error_code(s).to_string());
+ .map(|s| sanitize_error_code(s));
+ if let Some(code) = code {
+ err_builder.code(code);
+ }
let message = body
.get("message")
.or_else(|| body.get("Message"))
.or_else(|| body.get("errorMessage"))
- .and_then(|v| v.as_str())
- .map(|s| s.to_string());
+ .and_then(|v| v.as_str());
+ if let Some(message) = message {
+ err_builder.message(message);
+ }
let request_id = response
.headers()
.get("X-Amzn-Requestid")
- .and_then(|v| v.to_str().ok())
- .map(|s| s.to_string());
- smithy_types::Error {
- code,
- message,
- request_id,
+ .and_then(|v| v.to_str().ok());
+ if let Some(request_id) = request_id {
+ err_builder.request_id(request_id);
}
+ err_builder.build()
}
#[cfg(test)]
@@ -85,11 +89,11 @@ mod test {
.unwrap();
assert_eq!(
parse_generic_error(&response, response.body()),
- Error {
- code: Some("FooError".to_string()),
- message: Some("Go to foo".to_string()),
- request_id: Some("1234".to_string()),
- }
+ Error::builder()
+ .code("FooError")
+ .message("Go to foo")
+ .request_id("1234")
+ .build()
)
}
@@ -152,13 +156,10 @@ mod test {
.unwrap();
assert_eq!(
parse_generic_error(&response, response.body()),
- Error {
- code: Some("ResourceNotFoundException".to_string()),
- message: Some(
- "Functions from 'us-west-2' are not reachable from us-east-1".to_string()
- ),
- request_id: None,
- }
- )
+ Error::builder()
+ .code("ResourceNotFoundException")
+ .message("Functions from 'us-west-2' are not reachable from us-east-1")
+ .build()
+ );
}
}
diff --git a/sdk/apigateway/src/client.rs b/sdk/apigateway/src/client.rs
index 982a3478c5e2..586e4eaa3405 100644
--- a/sdk/apigateway/src/client.rs
+++ b/sdk/apigateway/src/client.rs
@@ -1,5 +1,4 @@
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
-
#[derive(std::fmt::Debug)]
pub(crate) struct Handle {
client: aws_hyper::Client,
@@ -10,7 +9,6 @@ pub(crate) struct Handle {
pub struct Client {
handle: std::sync::Arc,
}
-
impl Client {
#[cfg(any(feature = "rustls", feature = "native-tls"))]
pub fn from_env() -> Self {
@@ -35,489 +33,368 @@ impl Client {
pub fn conf(&self) -> &crate::Config {
&self.handle.conf
}
-
pub fn create_api_key(&self) -> fluent_builders::CreateApiKey {
fluent_builders::CreateApiKey::new(self.handle.clone())
}
-
pub fn create_authorizer(&self) -> fluent_builders::CreateAuthorizer {
fluent_builders::CreateAuthorizer::new(self.handle.clone())
}
-
pub fn create_base_path_mapping(&self) -> fluent_builders::CreateBasePathMapping {
fluent_builders::CreateBasePathMapping::new(self.handle.clone())
}
-
pub fn create_deployment(&self) -> fluent_builders::CreateDeployment {
fluent_builders::CreateDeployment::new(self.handle.clone())
}
-
pub fn create_documentation_part(&self) -> fluent_builders::CreateDocumentationPart {
fluent_builders::CreateDocumentationPart::new(self.handle.clone())
}
-
pub fn create_documentation_version(&self) -> fluent_builders::CreateDocumentationVersion {
fluent_builders::CreateDocumentationVersion::new(self.handle.clone())
}
-
pub fn create_domain_name(&self) -> fluent_builders::CreateDomainName {
fluent_builders::CreateDomainName::new(self.handle.clone())
}
-
pub fn create_model(&self) -> fluent_builders::CreateModel {
fluent_builders::CreateModel::new(self.handle.clone())
}
-
pub fn create_request_validator(&self) -> fluent_builders::CreateRequestValidator {
fluent_builders::CreateRequestValidator::new(self.handle.clone())
}
-
pub fn create_resource(&self) -> fluent_builders::CreateResource {
fluent_builders::CreateResource::new(self.handle.clone())
}
-
pub fn create_rest_api(&self) -> fluent_builders::CreateRestApi {
fluent_builders::CreateRestApi::new(self.handle.clone())
}
-
pub fn create_stage(&self) -> fluent_builders::CreateStage {
fluent_builders::CreateStage::new(self.handle.clone())
}
-
pub fn create_usage_plan(&self) -> fluent_builders::CreateUsagePlan {
fluent_builders::CreateUsagePlan::new(self.handle.clone())
}
-
pub fn create_usage_plan_key(&self) -> fluent_builders::CreateUsagePlanKey {
fluent_builders::CreateUsagePlanKey::new(self.handle.clone())
}
-
pub fn create_vpc_link(&self) -> fluent_builders::CreateVpcLink {
fluent_builders::CreateVpcLink::new(self.handle.clone())
}
-
pub fn delete_api_key(&self) -> fluent_builders::DeleteApiKey {
fluent_builders::DeleteApiKey::new(self.handle.clone())
}
-
pub fn delete_authorizer(&self) -> fluent_builders::DeleteAuthorizer {
fluent_builders::DeleteAuthorizer::new(self.handle.clone())
}
-
pub fn delete_base_path_mapping(&self) -> fluent_builders::DeleteBasePathMapping {
fluent_builders::DeleteBasePathMapping::new(self.handle.clone())
}
-
pub fn delete_client_certificate(&self) -> fluent_builders::DeleteClientCertificate {
fluent_builders::DeleteClientCertificate::new(self.handle.clone())
}
-
pub fn delete_deployment(&self) -> fluent_builders::DeleteDeployment {
fluent_builders::DeleteDeployment::new(self.handle.clone())
}
-
pub fn delete_documentation_part(&self) -> fluent_builders::DeleteDocumentationPart {
fluent_builders::DeleteDocumentationPart::new(self.handle.clone())
}
-
pub fn delete_documentation_version(&self) -> fluent_builders::DeleteDocumentationVersion {
fluent_builders::DeleteDocumentationVersion::new(self.handle.clone())
}
-
pub fn delete_domain_name(&self) -> fluent_builders::DeleteDomainName {
fluent_builders::DeleteDomainName::new(self.handle.clone())
}
-
pub fn delete_gateway_response(&self) -> fluent_builders::DeleteGatewayResponse {
fluent_builders::DeleteGatewayResponse::new(self.handle.clone())
}
-
pub fn delete_integration(&self) -> fluent_builders::DeleteIntegration {
fluent_builders::DeleteIntegration::new(self.handle.clone())
}
-
pub fn delete_integration_response(&self) -> fluent_builders::DeleteIntegrationResponse {
fluent_builders::DeleteIntegrationResponse::new(self.handle.clone())
}
-
pub fn delete_method(&self) -> fluent_builders::DeleteMethod {
fluent_builders::DeleteMethod::new(self.handle.clone())
}
-
pub fn delete_method_response(&self) -> fluent_builders::DeleteMethodResponse {
fluent_builders::DeleteMethodResponse::new(self.handle.clone())
}
-
pub fn delete_model(&self) -> fluent_builders::DeleteModel {
fluent_builders::DeleteModel::new(self.handle.clone())
}
-
pub fn delete_request_validator(&self) -> fluent_builders::DeleteRequestValidator {
fluent_builders::DeleteRequestValidator::new(self.handle.clone())
}
-
pub fn delete_resource(&self) -> fluent_builders::DeleteResource {
fluent_builders::DeleteResource::new(self.handle.clone())
}
-
pub fn delete_rest_api(&self) -> fluent_builders::DeleteRestApi {
fluent_builders::DeleteRestApi::new(self.handle.clone())
}
-
pub fn delete_stage(&self) -> fluent_builders::DeleteStage {
fluent_builders::DeleteStage::new(self.handle.clone())
}
-
pub fn delete_usage_plan(&self) -> fluent_builders::DeleteUsagePlan {
fluent_builders::DeleteUsagePlan::new(self.handle.clone())
}
-
pub fn delete_usage_plan_key(&self) -> fluent_builders::DeleteUsagePlanKey {
fluent_builders::DeleteUsagePlanKey::new(self.handle.clone())
}
-
pub fn delete_vpc_link(&self) -> fluent_builders::DeleteVpcLink {
fluent_builders::DeleteVpcLink::new(self.handle.clone())
}
-
pub fn flush_stage_authorizers_cache(&self) -> fluent_builders::FlushStageAuthorizersCache {
fluent_builders::FlushStageAuthorizersCache::new(self.handle.clone())
}
-
pub fn flush_stage_cache(&self) -> fluent_builders::FlushStageCache {
fluent_builders::FlushStageCache::new(self.handle.clone())
}
-
pub fn generate_client_certificate(&self) -> fluent_builders::GenerateClientCertificate {
fluent_builders::GenerateClientCertificate::new(self.handle.clone())
}
-
pub fn get_account(&self) -> fluent_builders::GetAccount {
fluent_builders::GetAccount::new(self.handle.clone())
}
-
pub fn get_api_key(&self) -> fluent_builders::GetApiKey {
fluent_builders::GetApiKey::new(self.handle.clone())
}
-
pub fn get_api_keys(&self) -> fluent_builders::GetApiKeys {
fluent_builders::GetApiKeys::new(self.handle.clone())
}
-
pub fn get_authorizer(&self) -> fluent_builders::GetAuthorizer {
fluent_builders::GetAuthorizer::new(self.handle.clone())
}
-
pub fn get_authorizers(&self) -> fluent_builders::GetAuthorizers {
fluent_builders::GetAuthorizers::new(self.handle.clone())
}
-
pub fn get_base_path_mapping(&self) -> fluent_builders::GetBasePathMapping {
fluent_builders::GetBasePathMapping::new(self.handle.clone())
}
-
pub fn get_base_path_mappings(&self) -> fluent_builders::GetBasePathMappings {
fluent_builders::GetBasePathMappings::new(self.handle.clone())
}
-
pub fn get_client_certificate(&self) -> fluent_builders::GetClientCertificate {
fluent_builders::GetClientCertificate::new(self.handle.clone())
}
-
pub fn get_client_certificates(&self) -> fluent_builders::GetClientCertificates {
fluent_builders::GetClientCertificates::new(self.handle.clone())
}
-
pub fn get_deployment(&self) -> fluent_builders::GetDeployment {
fluent_builders::GetDeployment::new(self.handle.clone())
}
-
pub fn get_deployments(&self) -> fluent_builders::GetDeployments {
fluent_builders::GetDeployments::new(self.handle.clone())
}
-
pub fn get_documentation_part(&self) -> fluent_builders::GetDocumentationPart {
fluent_builders::GetDocumentationPart::new(self.handle.clone())
}
-
pub fn get_documentation_parts(&self) -> fluent_builders::GetDocumentationParts {
fluent_builders::GetDocumentationParts::new(self.handle.clone())
}
-
pub fn get_documentation_version(&self) -> fluent_builders::GetDocumentationVersion {
fluent_builders::GetDocumentationVersion::new(self.handle.clone())
}
-
pub fn get_documentation_versions(&self) -> fluent_builders::GetDocumentationVersions {
fluent_builders::GetDocumentationVersions::new(self.handle.clone())
}
-
pub fn get_domain_name(&self) -> fluent_builders::GetDomainName {
fluent_builders::GetDomainName::new(self.handle.clone())
}
-
pub fn get_domain_names(&self) -> fluent_builders::GetDomainNames {
fluent_builders::GetDomainNames::new(self.handle.clone())
}
-
pub fn get_export(&self) -> fluent_builders::GetExport {
fluent_builders::GetExport::new(self.handle.clone())
}
-
pub fn get_gateway_response(&self) -> fluent_builders::GetGatewayResponse {
fluent_builders::GetGatewayResponse::new(self.handle.clone())
}
-
pub fn get_gateway_responses(&self) -> fluent_builders::GetGatewayResponses {
fluent_builders::GetGatewayResponses::new(self.handle.clone())
}
-
pub fn get_integration(&self) -> fluent_builders::GetIntegration {
fluent_builders::GetIntegration::new(self.handle.clone())
}
-
pub fn get_integration_response(&self) -> fluent_builders::GetIntegrationResponse {
fluent_builders::GetIntegrationResponse::new(self.handle.clone())
}
-
pub fn get_method(&self) -> fluent_builders::GetMethod {
fluent_builders::GetMethod::new(self.handle.clone())
}
-
pub fn get_method_response(&self) -> fluent_builders::GetMethodResponse {
fluent_builders::GetMethodResponse::new(self.handle.clone())
}
-
pub fn get_model(&self) -> fluent_builders::GetModel {
fluent_builders::GetModel::new(self.handle.clone())
}
-
pub fn get_models(&self) -> fluent_builders::GetModels {
fluent_builders::GetModels::new(self.handle.clone())
}
-
pub fn get_model_template(&self) -> fluent_builders::GetModelTemplate {
fluent_builders::GetModelTemplate::new(self.handle.clone())
}
-
pub fn get_request_validator(&self) -> fluent_builders::GetRequestValidator {
fluent_builders::GetRequestValidator::new(self.handle.clone())
}
-
pub fn get_request_validators(&self) -> fluent_builders::GetRequestValidators {
fluent_builders::GetRequestValidators::new(self.handle.clone())
}
-
pub fn get_resource(&self) -> fluent_builders::GetResource {
fluent_builders::GetResource::new(self.handle.clone())
}
-
pub fn get_resources(&self) -> fluent_builders::GetResources {
fluent_builders::GetResources::new(self.handle.clone())
}
-
pub fn get_rest_api(&self) -> fluent_builders::GetRestApi {
fluent_builders::GetRestApi::new(self.handle.clone())
}
-
pub fn get_rest_apis(&self) -> fluent_builders::GetRestApis {
fluent_builders::GetRestApis::new(self.handle.clone())
}
-
pub fn get_sdk(&self) -> fluent_builders::GetSdk {
fluent_builders::GetSdk::new(self.handle.clone())
}
-
pub fn get_sdk_type(&self) -> fluent_builders::GetSdkType {
fluent_builders::GetSdkType::new(self.handle.clone())
}
-
pub fn get_sdk_types(&self) -> fluent_builders::GetSdkTypes {
fluent_builders::GetSdkTypes::new(self.handle.clone())
}
-
pub fn get_stage(&self) -> fluent_builders::GetStage {
fluent_builders::GetStage::new(self.handle.clone())
}
-
pub fn get_stages(&self) -> fluent_builders::GetStages {
fluent_builders::GetStages::new(self.handle.clone())
}
-
pub fn get_tags(&self) -> fluent_builders::GetTags {
fluent_builders::GetTags::new(self.handle.clone())
}
-
pub fn get_usage(&self) -> fluent_builders::GetUsage {
fluent_builders::GetUsage::new(self.handle.clone())
}
-
pub fn get_usage_plan(&self) -> fluent_builders::GetUsagePlan {
fluent_builders::GetUsagePlan::new(self.handle.clone())
}
-
pub fn get_usage_plan_key(&self) -> fluent_builders::GetUsagePlanKey {
fluent_builders::GetUsagePlanKey::new(self.handle.clone())
}
-
pub fn get_usage_plan_keys(&self) -> fluent_builders::GetUsagePlanKeys {
fluent_builders::GetUsagePlanKeys::new(self.handle.clone())
}
-
pub fn get_usage_plans(&self) -> fluent_builders::GetUsagePlans {
fluent_builders::GetUsagePlans::new(self.handle.clone())
}
-
pub fn get_vpc_link(&self) -> fluent_builders::GetVpcLink {
fluent_builders::GetVpcLink::new(self.handle.clone())
}
-
pub fn get_vpc_links(&self) -> fluent_builders::GetVpcLinks {
fluent_builders::GetVpcLinks::new(self.handle.clone())
}
-
pub fn import_api_keys(&self) -> fluent_builders::ImportApiKeys {
fluent_builders::ImportApiKeys::new(self.handle.clone())
}
-
pub fn import_documentation_parts(&self) -> fluent_builders::ImportDocumentationParts {
fluent_builders::ImportDocumentationParts::new(self.handle.clone())
}
-
pub fn import_rest_api(&self) -> fluent_builders::ImportRestApi {
fluent_builders::ImportRestApi::new(self.handle.clone())
}
-
pub fn put_gateway_response(&self) -> fluent_builders::PutGatewayResponse {
fluent_builders::PutGatewayResponse::new(self.handle.clone())
}
-
pub fn put_integration(&self) -> fluent_builders::PutIntegration {
fluent_builders::PutIntegration::new(self.handle.clone())
}
-
pub fn put_integration_response(&self) -> fluent_builders::PutIntegrationResponse {
fluent_builders::PutIntegrationResponse::new(self.handle.clone())
}
-
pub fn put_method(&self) -> fluent_builders::PutMethod {
fluent_builders::PutMethod::new(self.handle.clone())
}
-
pub fn put_method_response(&self) -> fluent_builders::PutMethodResponse {
fluent_builders::PutMethodResponse::new(self.handle.clone())
}
-
pub fn put_rest_api(&self) -> fluent_builders::PutRestApi {
fluent_builders::PutRestApi::new(self.handle.clone())
}
-
pub fn tag_resource(&self) -> fluent_builders::TagResource {
fluent_builders::TagResource::new(self.handle.clone())
}
-
pub fn test_invoke_authorizer(&self) -> fluent_builders::TestInvokeAuthorizer {
fluent_builders::TestInvokeAuthorizer::new(self.handle.clone())
}
-
pub fn test_invoke_method(&self) -> fluent_builders::TestInvokeMethod {
fluent_builders::TestInvokeMethod::new(self.handle.clone())
}
-
pub fn untag_resource(&self) -> fluent_builders::UntagResource {
fluent_builders::UntagResource::new(self.handle.clone())
}
-
pub fn update_account(&self) -> fluent_builders::UpdateAccount {
fluent_builders::UpdateAccount::new(self.handle.clone())
}
-
pub fn update_api_key(&self) -> fluent_builders::UpdateApiKey {
fluent_builders::UpdateApiKey::new(self.handle.clone())
}
-
pub fn update_authorizer(&self) -> fluent_builders::UpdateAuthorizer {
fluent_builders::UpdateAuthorizer::new(self.handle.clone())
}
-
pub fn update_base_path_mapping(&self) -> fluent_builders::UpdateBasePathMapping {
fluent_builders::UpdateBasePathMapping::new(self.handle.clone())
}
-
pub fn update_client_certificate(&self) -> fluent_builders::UpdateClientCertificate {
fluent_builders::UpdateClientCertificate::new(self.handle.clone())
}
-
pub fn update_deployment(&self) -> fluent_builders::UpdateDeployment {
fluent_builders::UpdateDeployment::new(self.handle.clone())
}
-
pub fn update_documentation_part(&self) -> fluent_builders::UpdateDocumentationPart {
fluent_builders::UpdateDocumentationPart::new(self.handle.clone())
}
-
pub fn update_documentation_version(&self) -> fluent_builders::UpdateDocumentationVersion {
fluent_builders::UpdateDocumentationVersion::new(self.handle.clone())
}
-
pub fn update_domain_name(&self) -> fluent_builders::UpdateDomainName {
fluent_builders::UpdateDomainName::new(self.handle.clone())
}
-
pub fn update_gateway_response(&self) -> fluent_builders::UpdateGatewayResponse {
fluent_builders::UpdateGatewayResponse::new(self.handle.clone())
}
-
pub fn update_integration(&self) -> fluent_builders::UpdateIntegration {
fluent_builders::UpdateIntegration::new(self.handle.clone())
}
-
pub fn update_integration_response(&self) -> fluent_builders::UpdateIntegrationResponse {
fluent_builders::UpdateIntegrationResponse::new(self.handle.clone())
}
-
pub fn update_method(&self) -> fluent_builders::UpdateMethod {
fluent_builders::UpdateMethod::new(self.handle.clone())
}
-
pub fn update_method_response(&self) -> fluent_builders::UpdateMethodResponse {
fluent_builders::UpdateMethodResponse::new(self.handle.clone())
}
-
pub fn update_model(&self) -> fluent_builders::UpdateModel {
fluent_builders::UpdateModel::new(self.handle.clone())
}
-
pub fn update_request_validator(&self) -> fluent_builders::UpdateRequestValidator {
fluent_builders::UpdateRequestValidator::new(self.handle.clone())
}
-
pub fn update_resource(&self) -> fluent_builders::UpdateResource {
fluent_builders::UpdateResource::new(self.handle.clone())
}
-
pub fn update_rest_api(&self) -> fluent_builders::UpdateRestApi {
fluent_builders::UpdateRestApi::new(self.handle.clone())
}
-
pub fn update_stage(&self) -> fluent_builders::UpdateStage {
fluent_builders::UpdateStage::new(self.handle.clone())
}
-
pub fn update_usage(&self) -> fluent_builders::UpdateUsage {
fluent_builders::UpdateUsage::new(self.handle.clone())
}
-
pub fn update_usage_plan(&self) -> fluent_builders::UpdateUsagePlan {
fluent_builders::UpdateUsagePlan::new(self.handle.clone())
}
-
pub fn update_vpc_link(&self) -> fluent_builders::UpdateVpcLink {
fluent_builders::UpdateVpcLink::new(self.handle.clone())
}
}
pub mod fluent_builders {
-
#[derive(std::fmt::Debug)]
pub struct CreateApiKey {
handle: std::sync::Arc,
@@ -546,7 +423,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The name of the ApiKey.
pub fn name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.name(inp);
@@ -632,7 +508,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateAuthorizer {
handle: std::sync::Arc,
@@ -661,7 +536,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -771,7 +645,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateBasePathMapping {
handle: std::sync::Arc,
@@ -800,7 +673,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The domain name of the BasePathMapping resource to create.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -838,7 +710,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateDeployment {
handle: std::sync::Arc,
@@ -867,7 +738,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -970,7 +840,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateDocumentationPart {
handle: std::sync::Arc,
@@ -999,7 +868,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -1031,7 +899,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateDocumentationVersion {
handle: std::sync::Arc,
@@ -1060,7 +927,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -1101,7 +967,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateDomainName {
handle: std::sync::Arc,
@@ -1130,7 +995,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name of the DomainName resource.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -1282,7 +1146,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateModel {
handle: std::sync::Arc,
@@ -1311,7 +1174,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The RestApi identifier under which the Model will be created.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -1358,7 +1220,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateRequestValidator {
handle: std::sync::Arc,
@@ -1387,7 +1248,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -1425,7 +1285,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateResource {
handle: std::sync::Arc,
@@ -1454,7 +1313,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -1483,7 +1341,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateRestApi {
handle: std::sync::Arc,
@@ -1512,7 +1369,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name of the RestApi.
pub fn name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.name(inp);
@@ -1631,7 +1487,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateStage {
handle: std::sync::Arc,
@@ -1660,7 +1515,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -1790,7 +1644,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateUsagePlan {
handle: std::sync::Arc,
@@ -1819,7 +1672,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name of the usage plan.
pub fn name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.name(inp);
@@ -1890,7 +1742,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateUsagePlanKey {
handle: std::sync::Arc,
@@ -1919,7 +1770,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -1948,7 +1798,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct CreateVpcLink {
handle: std::sync::Arc,
@@ -1977,7 +1826,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name used to label and identify the VPC link.
pub fn name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.name(inp);
@@ -2027,7 +1875,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteApiKey {
handle: std::sync::Arc,
@@ -2056,7 +1903,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the ApiKey resource to be deleted.
pub fn api_key(mut self, inp: impl Into) -> Self {
self.inner = self.inner.api_key(inp);
@@ -2067,7 +1913,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteAuthorizer {
handle: std::sync::Arc,
@@ -2096,7 +1941,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2116,7 +1960,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteBasePathMapping {
handle: std::sync::Arc,
@@ -2145,7 +1988,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The domain name of the BasePathMapping resource to delete.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -2166,7 +2008,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteClientCertificate {
handle: std::sync::Arc,
@@ -2195,7 +2036,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the ClientCertificate resource to be deleted.
pub fn client_certificate_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.client_certificate_id(inp);
@@ -2206,7 +2046,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteDeployment {
handle: std::sync::Arc,
@@ -2235,7 +2074,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2255,7 +2093,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteDocumentationPart {
handle: std::sync::Arc,
@@ -2284,7 +2121,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2304,7 +2140,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteDocumentationVersion {
handle: std::sync::Arc,
@@ -2333,7 +2168,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2353,7 +2187,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteDomainName {
handle: std::sync::Arc,
@@ -2382,7 +2215,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name of the DomainName resource to be deleted.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -2393,7 +2225,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteGatewayResponse {
handle: std::sync::Arc,
@@ -2422,7 +2253,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2442,7 +2272,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteIntegration {
handle: std::sync::Arc,
@@ -2471,7 +2300,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2500,7 +2328,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteIntegrationResponse {
handle: std::sync::Arc,
@@ -2529,7 +2356,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2567,7 +2393,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteMethod {
handle: std::sync::Arc,
@@ -2596,7 +2421,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2625,7 +2449,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteMethodResponse {
handle: std::sync::Arc,
@@ -2654,7 +2477,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2692,7 +2514,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteModel {
handle: std::sync::Arc,
@@ -2721,7 +2542,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2741,7 +2561,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteRequestValidator {
handle: std::sync::Arc,
@@ -2770,7 +2589,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2790,7 +2608,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteResource {
handle: std::sync::Arc,
@@ -2819,7 +2636,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2839,7 +2655,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteRestApi {
handle: std::sync::Arc,
@@ -2868,7 +2683,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2879,7 +2693,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteStage {
handle: std::sync::Arc,
@@ -2908,7 +2721,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -2928,7 +2740,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteUsagePlan {
handle: std::sync::Arc,
@@ -2957,7 +2768,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the to-be-deleted usage plan.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -2968,7 +2778,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteUsagePlanKey {
handle: std::sync::Arc,
@@ -2997,7 +2806,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -3017,7 +2825,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct DeleteVpcLink {
handle: std::sync::Arc,
@@ -3046,7 +2853,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
pub fn vpc_link_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.vpc_link_id(inp);
@@ -3057,7 +2863,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct FlushStageAuthorizersCache {
handle: std::sync::Arc,
@@ -3086,7 +2891,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3106,7 +2910,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct FlushStageCache {
handle: std::sync::Arc,
@@ -3135,7 +2938,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3155,7 +2957,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GenerateClientCertificate {
handle: std::sync::Arc,
@@ -3184,7 +2985,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The description of the ClientCertificate.
pub fn description(mut self, inp: impl Into) -> Self {
self.inner = self.inner.description(inp);
@@ -3213,7 +3013,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetAccount {
handle: std::sync::Arc,
@@ -3243,7 +3042,6 @@ pub mod fluent_builders {
self.handle.client.call(op).await
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetApiKey {
handle: std::sync::Arc,
@@ -3272,7 +3070,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the ApiKey resource.
pub fn api_key(mut self, inp: impl Into) -> Self {
self.inner = self.inner.api_key(inp);
@@ -3292,7 +3089,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetApiKeys {
handle: std::sync::Arc,
@@ -3321,7 +3117,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -3368,7 +3163,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetAuthorizer {
handle: std::sync::Arc,
@@ -3397,7 +3191,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3417,7 +3210,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetAuthorizers {
handle: std::sync::Arc,
@@ -3446,7 +3238,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3475,7 +3266,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetBasePathMapping {
handle: std::sync::Arc,
@@ -3504,7 +3294,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The domain name of the BasePathMapping resource to be described.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -3524,7 +3313,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetBasePathMappings {
handle: std::sync::Arc,
@@ -3553,7 +3341,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The domain name of a BasePathMapping resource.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -3582,7 +3369,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetClientCertificate {
handle: std::sync::Arc,
@@ -3611,7 +3397,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the ClientCertificate resource to be described.
pub fn client_certificate_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.client_certificate_id(inp);
@@ -3622,7 +3407,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetClientCertificates {
handle: std::sync::Arc,
@@ -3651,7 +3435,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -3671,7 +3454,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDeployment {
handle: std::sync::Arc,
@@ -3700,7 +3482,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3732,7 +3513,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDeployments {
handle: std::sync::Arc,
@@ -3761,7 +3541,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3790,7 +3569,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDocumentationPart {
handle: std::sync::Arc,
@@ -3819,7 +3597,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3839,7 +3616,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDocumentationParts {
handle: std::sync::Arc,
@@ -3868,7 +3644,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3939,7 +3714,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDocumentationVersion {
handle: std::sync::Arc,
@@ -3968,7 +3742,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -3988,7 +3761,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDocumentationVersions {
handle: std::sync::Arc,
@@ -4017,7 +3789,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4046,7 +3817,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDomainName {
handle: std::sync::Arc,
@@ -4075,7 +3845,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name of the DomainName resource.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -4086,7 +3855,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetDomainNames {
handle: std::sync::Arc,
@@ -4115,7 +3883,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -4135,7 +3902,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetExport {
handle: std::sync::Arc,
@@ -4164,7 +3930,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4220,7 +3985,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetGatewayResponse {
handle: std::sync::Arc,
@@ -4249,7 +4013,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4269,7 +4032,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetGatewayResponses {
handle: std::sync::Arc,
@@ -4298,7 +4060,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4327,7 +4088,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetIntegration {
handle: std::sync::Arc,
@@ -4356,7 +4116,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4385,7 +4144,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetIntegrationResponse {
handle: std::sync::Arc,
@@ -4414,7 +4172,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4452,7 +4209,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetMethod {
handle: std::sync::Arc,
@@ -4481,7 +4237,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4510,7 +4265,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetMethodResponse {
handle: std::sync::Arc,
@@ -4539,7 +4293,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4577,7 +4330,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetModel {
handle: std::sync::Arc,
@@ -4606,7 +4358,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The RestApi identifier under which the Model exists.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4635,7 +4386,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetModels {
handle: std::sync::Arc,
@@ -4664,7 +4414,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4693,7 +4442,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetModelTemplate {
handle: std::sync::Arc,
@@ -4722,7 +4470,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4742,7 +4489,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetRequestValidator {
handle: std::sync::Arc,
@@ -4771,7 +4517,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4791,7 +4536,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetRequestValidators {
handle: std::sync::Arc,
@@ -4820,7 +4564,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4849,7 +4592,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetResource {
handle: std::sync::Arc,
@@ -4878,7 +4620,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4910,7 +4651,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetResources {
handle: std::sync::Arc,
@@ -4939,7 +4679,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -4980,7 +4719,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetRestApi {
handle: std::sync::Arc,
@@ -5009,7 +4747,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -5020,7 +4757,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetRestApis {
handle: std::sync::Arc,
@@ -5049,7 +4785,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -5069,7 +4804,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetSdk {
handle: std::sync::Arc,
@@ -5098,7 +4832,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -5145,7 +4878,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetSdkType {
handle: std::sync::Arc,
@@ -5174,7 +4906,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the queried SdkType instance.
pub fn id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.id(inp);
@@ -5185,7 +4916,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetSdkTypes {
handle: std::sync::Arc,
@@ -5214,7 +4944,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -5234,7 +4963,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetStage {
handle: std::sync::Arc,
@@ -5263,7 +4991,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -5283,7 +5010,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetStages {
handle: std::sync::Arc,
@@ -5312,7 +5038,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -5332,7 +5057,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetTags {
handle: std::sync::Arc,
@@ -5361,7 +5085,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The ARN of a resource that can be tagged.
pub fn resource_arn(mut self, inp: impl Into) -> Self {
self.inner = self.inner.resource_arn(inp);
@@ -5390,7 +5113,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetUsage {
handle: std::sync::Arc,
@@ -5419,7 +5141,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the usage plan associated with the usage data.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -5475,7 +5196,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetUsagePlan {
handle: std::sync::Arc,
@@ -5504,7 +5224,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the UsagePlan resource to be retrieved.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -5515,7 +5234,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetUsagePlanKey {
handle: std::sync::Arc,
@@ -5544,7 +5262,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -5564,7 +5281,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetUsagePlanKeys {
handle: std::sync::Arc,
@@ -5593,7 +5309,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -5631,7 +5346,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetUsagePlans {
handle: std::sync::Arc,
@@ -5660,7 +5374,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -5689,7 +5402,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetVpcLink {
handle: std::sync::Arc,
@@ -5718,7 +5430,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
pub fn vpc_link_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.vpc_link_id(inp);
@@ -5729,7 +5440,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct GetVpcLinks {
handle: std::sync::Arc,
@@ -5758,7 +5468,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The current pagination position in the paged result set.
pub fn position(mut self, inp: impl Into) -> Self {
self.inner = self.inner.position(inp);
@@ -5778,7 +5487,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct ImportApiKeys {
handle: std::sync::Arc,
@@ -5807,7 +5515,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// The payload of the POST request to import API keys. For the payload format, see API Key File Format.
pub fn body(mut self, inp: smithy_types::Blob) -> Self {
self.inner = self.inner.body(inp);
@@ -5836,7 +5543,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct ImportDocumentationParts {
handle: std::sync::Arc,
@@ -5865,7 +5571,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -5903,7 +5608,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct ImportRestApi {
handle: std::sync::Arc,
@@ -5932,7 +5636,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// A query parameter to indicate whether to rollback the API creation (true) or not (false)
/// when a warning is encountered. The default value is false.
pub fn fail_on_warnings(mut self, inp: bool) -> Self {
@@ -5978,7 +5681,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct PutGatewayResponse {
handle: std::sync::Arc,
@@ -6007,7 +5709,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6072,7 +5773,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct PutIntegration {
handle: std::sync::Arc,
@@ -6101,7 +5801,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6307,7 +6006,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct PutIntegrationResponse {
handle: std::sync::Arc,
@@ -6336,7 +6034,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6440,7 +6137,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct PutMethod {
handle: std::sync::Arc,
@@ -6469,7 +6165,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6595,7 +6290,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct PutMethodResponse {
handle: std::sync::Arc,
@@ -6624,7 +6318,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6696,7 +6389,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct PutRestApi {
handle: std::sync::Arc,
@@ -6725,7 +6417,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6783,7 +6474,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct TagResource {
handle: std::sync::Arc,
@@ -6812,7 +6502,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The ARN of a resource that can be tagged.
pub fn resource_arn(mut self, inp: impl Into) -> Self {
self.inner = self.inner.resource_arn(inp);
@@ -6841,7 +6530,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct TestInvokeAuthorizer {
handle: std::sync::Arc,
@@ -6870,7 +6558,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -6983,7 +6670,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct TestInvokeMethod {
handle: std::sync::Arc,
@@ -7012,7 +6698,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7128,7 +6813,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UntagResource {
handle: std::sync::Arc,
@@ -7157,7 +6841,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The ARN of a resource that can be tagged.
pub fn resource_arn(mut self, inp: impl Into) -> Self {
self.inner = self.inner.resource_arn(inp);
@@ -7180,7 +6863,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateAccount {
handle: std::sync::Arc,
@@ -7209,7 +6891,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// A list of update operations to be applied to the specified resource and in the order specified in this list.
pub fn patch_operations(mut self, inp: impl Into) -> Self {
self.inner = self.inner.patch_operations(inp);
@@ -7223,7 +6904,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateApiKey {
handle: std::sync::Arc,
@@ -7252,7 +6932,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the ApiKey resource to be updated.
pub fn api_key(mut self, inp: impl Into) -> Self {
self.inner = self.inner.api_key(inp);
@@ -7275,7 +6954,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateAuthorizer {
handle: std::sync::Arc,
@@ -7304,7 +6982,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7336,7 +7013,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateBasePathMapping {
handle: std::sync::Arc,
@@ -7365,7 +7041,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The domain name of the BasePathMapping resource to change.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -7398,7 +7073,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateClientCertificate {
handle: std::sync::Arc,
@@ -7427,7 +7101,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the ClientCertificate resource to be updated.
pub fn client_certificate_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.client_certificate_id(inp);
@@ -7450,7 +7123,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateDeployment {
handle: std::sync::Arc,
@@ -7479,7 +7151,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7511,7 +7182,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateDocumentationPart {
handle: std::sync::Arc,
@@ -7540,7 +7210,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7572,7 +7241,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateDocumentationVersion {
handle: std::sync::Arc,
@@ -7601,7 +7269,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi..
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7633,7 +7300,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateDomainName {
handle: std::sync::Arc,
@@ -7662,7 +7328,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The name of the DomainName resource to be changed.
pub fn domain_name(mut self, inp: impl Into) -> Self {
self.inner = self.inner.domain_name(inp);
@@ -7685,7 +7350,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateGatewayResponse {
handle: std::sync::Arc,
@@ -7714,7 +7378,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7746,7 +7409,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateIntegration {
handle: std::sync::Arc,
@@ -7775,7 +7437,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7816,7 +7477,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateIntegrationResponse {
handle: std::sync::Arc,
@@ -7845,7 +7505,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7895,7 +7554,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateMethod {
handle: std::sync::Arc,
@@ -7924,7 +7582,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -7965,7 +7622,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateMethodResponse {
handle: std::sync::Arc,
@@ -7994,7 +7650,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -8044,7 +7699,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateModel {
handle: std::sync::Arc,
@@ -8073,7 +7727,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -8105,7 +7758,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateRequestValidator {
handle: std::sync::Arc,
@@ -8134,7 +7786,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -8166,7 +7817,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateResource {
handle: std::sync::Arc,
@@ -8195,7 +7845,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -8227,7 +7876,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateRestApi {
handle: std::sync::Arc,
@@ -8256,7 +7904,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -8279,7 +7926,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateStage {
handle: std::sync::Arc,
@@ -8308,7 +7954,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The string identifier of the associated RestApi.
pub fn rest_api_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.rest_api_id(inp);
@@ -8340,7 +7985,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateUsage {
handle: std::sync::Arc,
@@ -8369,7 +8013,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the usage plan associated with the usage data.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -8401,7 +8044,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateUsagePlan {
handle: std::sync::Arc,
@@ -8430,7 +8072,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The Id of the to-be-updated usage plan.
pub fn usage_plan_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.usage_plan_id(inp);
@@ -8453,7 +8094,6 @@ pub mod fluent_builders {
self
}
}
-
#[derive(std::fmt::Debug)]
pub struct UpdateVpcLink {
handle: std::sync::Arc,
@@ -8482,7 +8122,6 @@ pub mod fluent_builders {
.map_err(|err| smithy_http::result::SdkError::ConstructionFailure(err.into()))?;
self.handle.client.call(op).await
}
-
/// [Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
pub fn vpc_link_id(mut self, inp: impl Into) -> Self {
self.inner = self.inner.vpc_link_id(inp);
diff --git a/sdk/apigateway/src/config.rs b/sdk/apigateway/src/config.rs
index 75fb6f1c3800..30ab887d7c83 100644
--- a/sdk/apigateway/src/config.rs
+++ b/sdk/apigateway/src/config.rs
@@ -14,7 +14,6 @@ impl Config {
pub fn builder() -> Builder {
Builder::default()
}
-
/// The signature version 4 service signing name to use in the credential scope when signing requests.
///
/// The signing service may be overidden by the `Endpoint`, or by specifying a custom [`SigningService`](aws_types::SigningService) during
@@ -33,7 +32,6 @@ impl Builder {
pub fn new() -> Self {
Self::default()
}
-
pub fn endpoint_resolver(
mut self,
endpoint_resolver: impl aws_endpoint::ResolveAwsEndpoint + 'static,
@@ -41,14 +39,11 @@ impl Builder {
self.endpoint_resolver = Some(::std::sync::Arc::new(endpoint_resolver));
self
}
-
pub fn region(mut self, region_provider: impl aws_types::region::ProvideRegion) -> Self {
self.region = region_provider.region();
self
}
-
/// Set the credentials provider for this service
-
pub fn credentials_provider(
mut self,
credentials_provider: impl aws_auth::ProvideCredentials + 'static,
@@ -56,7 +51,6 @@ impl Builder {
self.credentials_provider = Some(std::sync::Arc::new(credentials_provider));
self
}
-
pub fn build(self) -> Config {
Config {
endpoint_resolver: self.endpoint_resolver.unwrap_or_else(|| {
diff --git a/sdk/apigateway/src/error.rs b/sdk/apigateway/src/error.rs
index 23c253c46f7a..7b6f913d07b0 100644
--- a/sdk/apigateway/src/error.rs
+++ b/sdk/apigateway/src/error.rs
@@ -14,7 +14,6 @@ pub enum CreateApiKeyErrorKind {
NotFoundError(crate::error::NotFoundError),
TooManyRequestsError(crate::error::TooManyRequestsError),
UnauthorizedError(crate::error::UnauthorizedError),
-
/// An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Unhandled(Box),
}
@@ -39,7 +38,6 @@ impl smithy_types::retry::ProvideErrorKind for CreateApiKeyError {
None
}
}
-
impl CreateApiKeyError {
pub fn new(kind: CreateApiKeyErrorKind, meta: smithy_types::Error) -> Self {
Self { kind, meta }
@@ -62,18 +60,21 @@ impl CreateApiKeyError {
// Consider if this should actually be `Option>`. This would enable us to use display as implemented
// by std::Error to generate a message in that case.
pub fn message(&self) -> Option<&str> {
- self.meta.message.as_deref()
+ self.meta.message()
+ }
+
+ pub fn meta(&self) -> &smithy_types::Error {
+ &self.meta
}
pub fn request_id(&self) -> Option<&str> {
- self.meta.request_id.as_deref()
+ self.meta.request_id()
}
pub fn code(&self) -> Option<&str> {
- self.meta.code.as_deref()
+ self.meta.code()
}
}
-
impl std::error::Error for CreateApiKeyError {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
match &self.kind {
@@ -102,7 +103,6 @@ pub enum CreateAuthorizerErrorKind {
NotFoundError(crate::error::NotFoundError),
TooManyRequestsError(crate::error::TooManyRequestsError),
UnauthorizedError(crate::error::UnauthorizedError),
-
/// An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Unhandled(Box),
}
@@ -126,7 +126,6 @@ impl smithy_types::retry::ProvideErrorKind for CreateAuthorizerError {
None
}
}
-
impl CreateAuthorizerError {
pub fn new(kind: CreateAuthorizerErrorKind, meta: smithy_types::Error) -> Self {
Self { kind, meta }
@@ -149,18 +148,21 @@ impl CreateAuthorizerError {
// Consider if this should actually be `Option>`. This would enable us to use display as implemented
// by std::Error to generate a message in that case.
pub fn message(&self) -> Option<&str> {
- self.meta.message.as_deref()
+ self.meta.message()
+ }
+
+ pub fn meta(&self) -> &smithy_types::Error {
+ &self.meta
}
pub fn request_id(&self) -> Option<&str> {
- self.meta.request_id.as_deref()
+ self.meta.request_id()
}
pub fn code(&self) -> Option<&str> {
- self.meta.code.as_deref()
+ self.meta.code()
}
}
-
impl std::error::Error for CreateAuthorizerError {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
match &self.kind {
@@ -188,7 +190,6 @@ pub enum CreateBasePathMappingErrorKind {
NotFoundError(crate::error::NotFoundError),
TooManyRequestsError(crate::error::TooManyRequestsError),
UnauthorizedError(crate::error::UnauthorizedError),
-
/// An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Unhandled(Box),
}
@@ -212,7 +213,6 @@ impl smithy_types::retry::ProvideErrorKind for CreateBasePathMappingError {
None
}
}
-
impl CreateBasePathMappingError {
pub fn new(kind: CreateBasePathMappingErrorKind, meta: smithy_types::Error) -> Self {
Self { kind, meta }
@@ -235,18 +235,21 @@ impl CreateBasePathMappingError {
// Consider if this should actually be `Option>`. This would enable us to use display as implemented
// by std::Error to generate a message in that case.
pub fn message(&self) -> Option<&str> {
- self.meta.message.as_deref()
+ self.meta.message()
+ }
+
+ pub fn meta(&self) -> &smithy_types::Error {
+ &self.meta
}
pub fn request_id(&self) -> Option<&str> {
- self.meta.request_id.as_deref()
+ self.meta.request_id()
}
pub fn code(&self) -> Option<&str> {
- self.meta.code.as_deref()
+ self.meta.code()
}
}
-
impl std::error::Error for CreateBasePathMappingError {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
match &self.kind {
@@ -276,7 +279,6 @@ pub enum CreateDeploymentErrorKind {
ServiceUnavailableError(crate::error::ServiceUnavailableError),
TooManyRequestsError(crate::error::TooManyRequestsError),
UnauthorizedError(crate::error::UnauthorizedError),
-
/// An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Unhandled(Box),
}
@@ -302,7 +304,6 @@ impl smithy_types::retry::ProvideErrorKind for CreateDeploymentError {
None
}
}
-
impl CreateDeploymentError {
pub fn new(kind: CreateDeploymentErrorKind, meta: smithy_types::Error) -> Self {
Self { kind, meta }
@@ -325,18 +326,21 @@ impl CreateDeploymentError {
// Consider if this should actually be `Option>`. This would enable us to use display as implemented
// by std::Error to generate a message in that case.
pub fn message(&self) -> Option<&str> {
- self.meta.message.as_deref()
+ self.meta.message()
+ }
+
+ pub fn meta(&self) -> &smithy_types::Error {
+ &self.meta
}
pub fn request_id(&self) -> Option<&str> {
- self.meta.request_id.as_deref()
+ self.meta.request_id()
}
pub fn code(&self) -> Option<&str> {
- self.meta.code.as_deref()
+ self.meta.code()
}
}
-
impl std::error::Error for CreateDeploymentError {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
match &self.kind {
@@ -367,7 +371,6 @@ pub enum CreateDocumentationPartErrorKind {
NotFoundError(crate::error::NotFoundError),
TooManyRequestsError(crate::error::TooManyRequestsError),
UnauthorizedError(crate::error::UnauthorizedError),
-
/// An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Unhandled(Box),
}
@@ -392,7 +395,6 @@ impl smithy_types::retry::ProvideErrorKind for CreateDocumentationPartError {
None
}
}
-
impl CreateDocumentationPartError {
pub fn new(kind: CreateDocumentationPartErrorKind, meta: smithy_types::Error) -> Self {
Self { kind, meta }
@@ -415,18 +417,21 @@ impl CreateDocumentationPartError {
// Consider if this should actually be `Option>`. This would enable us to use display as implemented
// by std::Error to generate a message in that case.
pub fn message(&self) -> Option<&str> {
- self.meta.message.as_deref()
+ self.meta.message()
+ }
+
+ pub fn meta(&self) -> &smithy_types::Error {
+ &self.meta
}
pub fn request_id(&self) -> Option<&str> {
- self.meta.request_id.as_deref()
+ self.meta.request_id()
}
pub fn code(&self) -> Option<&str> {
- self.meta.code.as_deref()
+ self.meta.code()
}
}
-
impl std::error::Error for CreateDocumentationPartError {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
match &self.kind {
@@ -456,7 +461,6 @@ pub enum CreateDocumentationVersionErrorKind {
NotFoundError(crate::error::NotFoundError),
TooManyRequestsError(crate::error::TooManyRequestsError),
UnauthorizedError(crate::error::UnauthorizedError),
-
/// An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Unhandled(Box