Struct aws_sdk_iotsitewise::operation::update_gateway_capability_configuration::builders::UpdateGatewayCapabilityConfigurationFluentBuilder
source · pub struct UpdateGatewayCapabilityConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateGatewayCapabilityConfiguration.
Updates a gateway capability configuration or defines a new capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway.
Implementations§
source§impl UpdateGatewayCapabilityConfigurationFluentBuilder
impl UpdateGatewayCapabilityConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateGatewayCapabilityConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateGatewayCapabilityConfigurationInputBuilder
Access the UpdateGatewayCapabilityConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateGatewayCapabilityConfigurationOutput, SdkError<UpdateGatewayCapabilityConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateGatewayCapabilityConfigurationOutput, SdkError<UpdateGatewayCapabilityConfigurationError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateGatewayCapabilityConfigurationOutput, UpdateGatewayCapabilityConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateGatewayCapabilityConfigurationOutput, UpdateGatewayCapabilityConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the gateway to be updated.
sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the gateway to be updated.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the gateway to be updated.
sourcepub fn capability_namespace(self, input: impl Into<String>) -> Self
pub fn capability_namespace(self, input: impl Into<String>) -> Self
The namespace of the gateway capability configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
sourcepub fn set_capability_namespace(self, input: Option<String>) -> Self
pub fn set_capability_namespace(self, input: Option<String>) -> Self
The namespace of the gateway capability configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
sourcepub fn get_capability_namespace(&self) -> &Option<String>
pub fn get_capability_namespace(&self) -> &Option<String>
The namespace of the gateway capability configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
sourcepub fn capability_configuration(self, input: impl Into<String>) -> Self
pub fn capability_configuration(self, input: impl Into<String>) -> Self
The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
sourcepub fn set_capability_configuration(self, input: Option<String>) -> Self
pub fn set_capability_configuration(self, input: Option<String>) -> Self
The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
sourcepub fn get_capability_configuration(&self) -> &Option<String>
pub fn get_capability_configuration(&self) -> &Option<String>
The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
Trait Implementations§
source§impl Clone for UpdateGatewayCapabilityConfigurationFluentBuilder
impl Clone for UpdateGatewayCapabilityConfigurationFluentBuilder
source§fn clone(&self) -> UpdateGatewayCapabilityConfigurationFluentBuilder
fn clone(&self) -> UpdateGatewayCapabilityConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateGatewayCapabilityConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateGatewayCapabilityConfigurationFluentBuilder
impl Send for UpdateGatewayCapabilityConfigurationFluentBuilder
impl Sync for UpdateGatewayCapabilityConfigurationFluentBuilder
impl Unpin for UpdateGatewayCapabilityConfigurationFluentBuilder
impl !UnwindSafe for UpdateGatewayCapabilityConfigurationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more