Struct aws_sdk_apigateway::client::Client[][src]

pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Client for Amazon API Gateway

Client for invoking operations on Amazon API Gateway. Each operation on Amazon API Gateway is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_apigateway::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
    let shared_config = aws_config::load_from_env().await;
    let config = aws_sdk_apigateway::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_apigateway::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the CreateApiKey operation.

See CreateApiKey for more information about the operation and its arguments.

Constructs a fluent builder for the CreateAuthorizer operation.

See CreateAuthorizer for more information about the operation and its arguments.

Constructs a fluent builder for the CreateBasePathMapping operation.

See CreateBasePathMapping for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDeployment operation.

See CreateDeployment for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDocumentationPart operation.

See CreateDocumentationPart for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDocumentationVersion operation.

See CreateDocumentationVersion for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDomainName operation.

See CreateDomainName for more information about the operation and its arguments.

Constructs a fluent builder for the CreateModel operation.

See CreateModel for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRequestValidator operation.

See CreateRequestValidator for more information about the operation and its arguments.

Constructs a fluent builder for the CreateResource operation.

See CreateResource for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRestApi operation.

See CreateRestApi for more information about the operation and its arguments.

Constructs a fluent builder for the CreateStage operation.

See CreateStage for more information about the operation and its arguments.

Constructs a fluent builder for the CreateUsagePlan operation.

See CreateUsagePlan for more information about the operation and its arguments.

Constructs a fluent builder for the CreateUsagePlanKey operation.

See CreateUsagePlanKey for more information about the operation and its arguments.

Constructs a fluent builder for the CreateVpcLink operation.

See CreateVpcLink for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteApiKey operation.

See DeleteApiKey for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteAuthorizer operation.

See DeleteAuthorizer for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteBasePathMapping operation.

See DeleteBasePathMapping for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteClientCertificate operation.

See DeleteClientCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDeployment operation.

See DeleteDeployment for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDocumentationPart operation.

See DeleteDocumentationPart for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDocumentationVersion operation.

See DeleteDocumentationVersion for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDomainName operation.

See DeleteDomainName for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteGatewayResponse operation.

See DeleteGatewayResponse for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteIntegration operation.

See DeleteIntegration for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteIntegrationResponse operation.

See DeleteIntegrationResponse for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteMethod operation.

See DeleteMethod for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteMethodResponse operation.

See DeleteMethodResponse for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteModel operation.

See DeleteModel for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRequestValidator operation.

See DeleteRequestValidator for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteResource operation.

See DeleteResource for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRestApi operation.

See DeleteRestApi for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteStage operation.

See DeleteStage for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteUsagePlan operation.

See DeleteUsagePlan for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteUsagePlanKey operation.

See DeleteUsagePlanKey for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteVpcLink operation.

See DeleteVpcLink for more information about the operation and its arguments.

Constructs a fluent builder for the FlushStageAuthorizersCache operation.

See FlushStageAuthorizersCache for more information about the operation and its arguments.

Constructs a fluent builder for the FlushStageCache operation.

See FlushStageCache for more information about the operation and its arguments.

Constructs a fluent builder for the GenerateClientCertificate operation.

See GenerateClientCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the GetAccount operation.

See GetAccount for more information about the operation and its arguments.

Constructs a fluent builder for the GetApiKey operation.

See GetApiKey for more information about the operation and its arguments.

Constructs a fluent builder for the GetApiKeys operation.

See GetApiKeys for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetAuthorizer operation.

See GetAuthorizer for more information about the operation and its arguments.

Constructs a fluent builder for the GetAuthorizers operation.

See GetAuthorizers for more information about the operation and its arguments.

Constructs a fluent builder for the GetBasePathMapping operation.

See GetBasePathMapping for more information about the operation and its arguments.

Constructs a fluent builder for the GetBasePathMappings operation.

See GetBasePathMappings for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetClientCertificate operation.

See GetClientCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the GetClientCertificates operation.

See GetClientCertificates for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetDeployment operation.

See GetDeployment for more information about the operation and its arguments.

Constructs a fluent builder for the GetDeployments operation.

See GetDeployments for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetDocumentationPart operation.

See GetDocumentationPart for more information about the operation and its arguments.

Constructs a fluent builder for the GetDocumentationParts operation.

See GetDocumentationParts for more information about the operation and its arguments.

Constructs a fluent builder for the GetDocumentationVersion operation.

See GetDocumentationVersion for more information about the operation and its arguments.

Constructs a fluent builder for the GetDocumentationVersions operation.

See GetDocumentationVersions for more information about the operation and its arguments.

Constructs a fluent builder for the GetDomainName operation.

See GetDomainName for more information about the operation and its arguments.

Constructs a fluent builder for the GetDomainNames operation.

See GetDomainNames for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetExport operation.

See GetExport for more information about the operation and its arguments.

Constructs a fluent builder for the GetGatewayResponse operation.

See GetGatewayResponse for more information about the operation and its arguments.

Constructs a fluent builder for the GetGatewayResponses operation.

See GetGatewayResponses for more information about the operation and its arguments.

Constructs a fluent builder for the GetIntegration operation.

See GetIntegration for more information about the operation and its arguments.

Constructs a fluent builder for the GetIntegrationResponse operation.

See GetIntegrationResponse for more information about the operation and its arguments.

Constructs a fluent builder for the GetMethod operation.

See GetMethod for more information about the operation and its arguments.

Constructs a fluent builder for the GetMethodResponse operation.

See GetMethodResponse for more information about the operation and its arguments.

Constructs a fluent builder for the GetModel operation.

See GetModel for more information about the operation and its arguments.

Constructs a fluent builder for the GetModels operation.

See GetModels for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetModelTemplate operation.

See GetModelTemplate for more information about the operation and its arguments.

Constructs a fluent builder for the GetRequestValidator operation.

See GetRequestValidator for more information about the operation and its arguments.

Constructs a fluent builder for the GetRequestValidators operation.

See GetRequestValidators for more information about the operation and its arguments.

Constructs a fluent builder for the GetResource operation.

See GetResource for more information about the operation and its arguments.

Constructs a fluent builder for the GetResources operation.

See GetResources for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetRestApi operation.

See GetRestApi for more information about the operation and its arguments.

Constructs a fluent builder for the GetRestApis operation.

See GetRestApis for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetSdk operation.

See GetSdk for more information about the operation and its arguments.

Constructs a fluent builder for the GetSdkType operation.

See GetSdkType for more information about the operation and its arguments.

Constructs a fluent builder for the GetSdkTypes operation.

See GetSdkTypes for more information about the operation and its arguments.

Constructs a fluent builder for the GetStage operation.

See GetStage for more information about the operation and its arguments.

Constructs a fluent builder for the GetStages operation.

See GetStages for more information about the operation and its arguments.

Constructs a fluent builder for the GetTags operation.

See GetTags for more information about the operation and its arguments.

Constructs a fluent builder for the GetUsage operation.

See GetUsage for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetUsagePlan operation.

See GetUsagePlan for more information about the operation and its arguments.

Constructs a fluent builder for the GetUsagePlanKey operation.

See GetUsagePlanKey for more information about the operation and its arguments.

Constructs a fluent builder for the GetUsagePlanKeys operation.

See GetUsagePlanKeys for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetUsagePlans operation.

See GetUsagePlans for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the GetVpcLink operation.

See GetVpcLink for more information about the operation and its arguments.

Constructs a fluent builder for the GetVpcLinks operation.

See GetVpcLinks for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the ImportApiKeys operation.

See ImportApiKeys for more information about the operation and its arguments.

Constructs a fluent builder for the ImportDocumentationParts operation.

See ImportDocumentationParts for more information about the operation and its arguments.

Constructs a fluent builder for the ImportRestApi operation.

See ImportRestApi for more information about the operation and its arguments.

Constructs a fluent builder for the PutGatewayResponse operation.

See PutGatewayResponse for more information about the operation and its arguments.

Constructs a fluent builder for the PutIntegration operation.

See PutIntegration for more information about the operation and its arguments.

Constructs a fluent builder for the PutIntegrationResponse operation.

See PutIntegrationResponse for more information about the operation and its arguments.

Constructs a fluent builder for the PutMethod operation.

See PutMethod for more information about the operation and its arguments.

Constructs a fluent builder for the PutMethodResponse operation.

See PutMethodResponse for more information about the operation and its arguments.

Constructs a fluent builder for the PutRestApi operation.

See PutRestApi for more information about the operation and its arguments.

Constructs a fluent builder for the TagResource operation.

See TagResource for more information about the operation and its arguments.

Constructs a fluent builder for the TestInvokeAuthorizer operation.

See TestInvokeAuthorizer for more information about the operation and its arguments.

Constructs a fluent builder for the TestInvokeMethod operation.

See TestInvokeMethod for more information about the operation and its arguments.

Constructs a fluent builder for the UntagResource operation.

See UntagResource for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateAccount operation.

See UpdateAccount for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateApiKey operation.

See UpdateApiKey for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateAuthorizer operation.

See UpdateAuthorizer for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateBasePathMapping operation.

See UpdateBasePathMapping for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateClientCertificate operation.

See UpdateClientCertificate for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDeployment operation.

See UpdateDeployment for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDocumentationPart operation.

See UpdateDocumentationPart for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDocumentationVersion operation.

See UpdateDocumentationVersion for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateDomainName operation.

See UpdateDomainName for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateGatewayResponse operation.

See UpdateGatewayResponse for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateIntegration operation.

See UpdateIntegration for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateIntegrationResponse operation.

See UpdateIntegrationResponse for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateMethod operation.

See UpdateMethod for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateMethodResponse operation.

See UpdateMethodResponse for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateModel operation.

See UpdateModel for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRequestValidator operation.

See UpdateRequestValidator for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateResource operation.

See UpdateResource for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRestApi operation.

See UpdateRestApi for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateStage operation.

See UpdateStage for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateUsage operation.

See UpdateUsage for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateUsagePlan operation.

See UpdateUsagePlan for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateVpcLink operation.

See UpdateVpcLink for more information about the operation and its arguments.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more