Struct aws_sdk_proton::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for AWS Proton
Client for invoking operations on AWS Proton. Each operation on AWS Proton 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_proton::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_proton::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_proton::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub fn accept_environment_account_connection(
&self
) -> AcceptEnvironmentAccountConnection<C, M, R>
pub fn accept_environment_account_connection(
&self
) -> AcceptEnvironmentAccountConnection<C, M, R>
Constructs a fluent builder for the AcceptEnvironmentAccountConnection
operation.
See AcceptEnvironmentAccountConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the CancelEnvironmentDeployment
operation.
See CancelEnvironmentDeployment
for more information about the
operation and its arguments.
Constructs a fluent builder for the CancelServiceInstanceDeployment
operation.
See CancelServiceInstanceDeployment
for more information about the
operation and its arguments.
Constructs a fluent builder for the CancelServicePipelineDeployment
operation.
See CancelServicePipelineDeployment
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEnvironment
operation.
See CreateEnvironment
for more information about the
operation and its arguments.
pub fn create_environment_account_connection(
&self
) -> CreateEnvironmentAccountConnection<C, M, R>
pub fn create_environment_account_connection(
&self
) -> CreateEnvironmentAccountConnection<C, M, R>
Constructs a fluent builder for the CreateEnvironmentAccountConnection
operation.
See CreateEnvironmentAccountConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEnvironmentTemplate
operation.
See CreateEnvironmentTemplate
for more information about the
operation and its arguments.
pub fn create_environment_template_version(
&self
) -> CreateEnvironmentTemplateVersion<C, M, R>
pub fn create_environment_template_version(
&self
) -> CreateEnvironmentTemplateVersion<C, M, R>
Constructs a fluent builder for the CreateEnvironmentTemplateVersion
operation.
See CreateEnvironmentTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateRepository
operation.
See CreateRepository
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateService
operation.
See CreateService
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateServiceTemplate
operation.
See CreateServiceTemplate
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateServiceTemplateVersion
operation.
See CreateServiceTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateTemplateSyncConfig
operation.
See CreateTemplateSyncConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEnvironment
operation.
See DeleteEnvironment
for more information about the
operation and its arguments.
pub fn delete_environment_account_connection(
&self
) -> DeleteEnvironmentAccountConnection<C, M, R>
pub fn delete_environment_account_connection(
&self
) -> DeleteEnvironmentAccountConnection<C, M, R>
Constructs a fluent builder for the DeleteEnvironmentAccountConnection
operation.
See DeleteEnvironmentAccountConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEnvironmentTemplate
operation.
See DeleteEnvironmentTemplate
for more information about the
operation and its arguments.
pub fn delete_environment_template_version(
&self
) -> DeleteEnvironmentTemplateVersion<C, M, R>
pub fn delete_environment_template_version(
&self
) -> DeleteEnvironmentTemplateVersion<C, M, R>
Constructs a fluent builder for the DeleteEnvironmentTemplateVersion
operation.
See DeleteEnvironmentTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRepository
operation.
See DeleteRepository
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteService
operation.
See DeleteService
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteServiceTemplate
operation.
See DeleteServiceTemplate
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteServiceTemplateVersion
operation.
See DeleteServiceTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteTemplateSyncConfig
operation.
See DeleteTemplateSyncConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccountSettings
operation.
See GetAccountSettings
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEnvironment
operation.
See GetEnvironment
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEnvironmentAccountConnection
operation.
See GetEnvironmentAccountConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEnvironmentTemplate
operation.
See GetEnvironmentTemplate
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEnvironmentTemplateVersion
operation.
See GetEnvironmentTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetRepository
operation.
See GetRepository
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetRepositorySyncStatus
operation.
See GetRepositorySyncStatus
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetService
operation.
See GetService
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetServiceInstance
operation.
See GetServiceInstance
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetServiceTemplate
operation.
See GetServiceTemplate
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetServiceTemplateVersion
operation.
See GetServiceTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetTemplateSyncConfig
operation.
See GetTemplateSyncConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetTemplateSyncStatus
operation.
See GetTemplateSyncStatus
for more information about the
operation and its arguments.
pub fn list_environment_account_connections(
&self
) -> ListEnvironmentAccountConnections<C, M, R>
pub fn list_environment_account_connections(
&self
) -> ListEnvironmentAccountConnections<C, M, R>
Constructs a fluent builder for the ListEnvironmentAccountConnections
operation.
See ListEnvironmentAccountConnections
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEnvironmentOutputs
operation.
See ListEnvironmentOutputs
for more information about the
operation and its arguments.
pub fn list_environment_provisioned_resources(
&self
) -> ListEnvironmentProvisionedResources<C, M, R>
pub fn list_environment_provisioned_resources(
&self
) -> ListEnvironmentProvisionedResources<C, M, R>
Constructs a fluent builder for the ListEnvironmentProvisionedResources
operation.
See ListEnvironmentProvisionedResources
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEnvironments
operation.
See ListEnvironments
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEnvironmentTemplates
operation.
See ListEnvironmentTemplates
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEnvironmentTemplateVersions
operation.
See ListEnvironmentTemplateVersions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListRepositories
operation.
See ListRepositories
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListRepositorySyncDefinitions
operation.
See ListRepositorySyncDefinitions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServiceInstanceOutputs
operation.
See ListServiceInstanceOutputs
for more information about the
operation and its arguments.
pub fn list_service_instance_provisioned_resources(
&self
) -> ListServiceInstanceProvisionedResources<C, M, R>
pub fn list_service_instance_provisioned_resources(
&self
) -> ListServiceInstanceProvisionedResources<C, M, R>
Constructs a fluent builder for the ListServiceInstanceProvisionedResources
operation.
See ListServiceInstanceProvisionedResources
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServiceInstances
operation.
See ListServiceInstances
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServicePipelineOutputs
operation.
See ListServicePipelineOutputs
for more information about the
operation and its arguments.
pub fn list_service_pipeline_provisioned_resources(
&self
) -> ListServicePipelineProvisionedResources<C, M, R>
pub fn list_service_pipeline_provisioned_resources(
&self
) -> ListServicePipelineProvisionedResources<C, M, R>
Constructs a fluent builder for the ListServicePipelineProvisionedResources
operation.
See ListServicePipelineProvisionedResources
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServices
operation.
See ListServices
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServiceTemplates
operation.
See ListServiceTemplates
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServiceTemplateVersions
operation.
See ListServiceTemplateVersions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTagsForResource
operation.
See ListTagsForResource
for more information about the
operation and its arguments.
pub fn notify_resource_deployment_status_change(
&self
) -> NotifyResourceDeploymentStatusChange<C, M, R>
pub fn notify_resource_deployment_status_change(
&self
) -> NotifyResourceDeploymentStatusChange<C, M, R>
Constructs a fluent builder for the NotifyResourceDeploymentStatusChange
operation.
See NotifyResourceDeploymentStatusChange
for more information about the
operation and its arguments.
pub fn reject_environment_account_connection(
&self
) -> RejectEnvironmentAccountConnection<C, M, R>
pub fn reject_environment_account_connection(
&self
) -> RejectEnvironmentAccountConnection<C, M, R>
Constructs a fluent builder for the RejectEnvironmentAccountConnection
operation.
See RejectEnvironmentAccountConnection
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 UntagResource
operation.
See UntagResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateAccountSettings
operation.
See UpdateAccountSettings
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateEnvironment
operation.
See UpdateEnvironment
for more information about the
operation and its arguments.
pub fn update_environment_account_connection(
&self
) -> UpdateEnvironmentAccountConnection<C, M, R>
pub fn update_environment_account_connection(
&self
) -> UpdateEnvironmentAccountConnection<C, M, R>
Constructs a fluent builder for the UpdateEnvironmentAccountConnection
operation.
See UpdateEnvironmentAccountConnection
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateEnvironmentTemplate
operation.
See UpdateEnvironmentTemplate
for more information about the
operation and its arguments.
pub fn update_environment_template_version(
&self
) -> UpdateEnvironmentTemplateVersion<C, M, R>
pub fn update_environment_template_version(
&self
) -> UpdateEnvironmentTemplateVersion<C, M, R>
Constructs a fluent builder for the UpdateEnvironmentTemplateVersion
operation.
See UpdateEnvironmentTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateService
operation.
See UpdateService
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServiceInstance
operation.
See UpdateServiceInstance
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServicePipeline
operation.
See UpdateServicePipeline
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServiceTemplate
operation.
See UpdateServiceTemplate
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServiceTemplateVersion
operation.
See UpdateServiceTemplateVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateTemplateSyncConfig
operation.
See UpdateTemplateSyncConfig
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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