Struct aws_sdk_config::client::fluent_builders::PutResourceConfig
source · [−]pub struct PutResourceConfig<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to PutResourceConfig.
Records the configuration state for the resource provided in the request. The configuration state of a resource is represented in Config as Configuration Items. Once this API records the configuration item, you can retrieve the list of configuration items for the custom resource type using existing Config APIs.
The custom resource type must be registered with CloudFormation. This API accepts the configuration item registered with CloudFormation.
When you call this API, Config only stores configuration state of the resource provided in the request. This API does not change or remediate the configuration of the resource.
Write-only schema properites are not recorded as part of the published configuration item.
Implementations
impl<C, M, R> PutResourceConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutResourceConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutResourceConfigOutput, SdkError<PutResourceConfigError>> where
R::Policy: SmithyRetryPolicy<PutResourceConfigInputOperationOutputAlias, PutResourceConfigOutput, PutResourceConfigError, PutResourceConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutResourceConfigOutput, SdkError<PutResourceConfigError>> where
R::Policy: SmithyRetryPolicy<PutResourceConfigInputOperationOutputAlias, PutResourceConfigOutput, PutResourceConfigError, PutResourceConfigInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The type of the resource. The custom resource type must be registered with CloudFormation.
You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
The type of the resource. The custom resource type must be registered with CloudFormation.
You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
Version of the schema registered for the ResourceType in CloudFormation.
Version of the schema registered for the ResourceType in CloudFormation.
Unique identifier of the resource.
Unique identifier of the resource.
Name of the resource.
Name of the resource.
The configuration object of the resource in valid JSON format. It must match the schema registered with CloudFormation.
The configuration JSON must not exceed 64 KB.
The configuration object of the resource in valid JSON format. It must match the schema registered with CloudFormation.
The configuration JSON must not exceed 64 KB.
Adds a key-value pair to Tags.
To override the contents of this collection use set_tags.
Tags associated with the resource.
Tags associated with the resource.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutResourceConfig<C, M, R>
impl<C, M, R> Send for PutResourceConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutResourceConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutResourceConfig<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutResourceConfig<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