pub struct Builder { /* private fields */ }
Expand description

Implementations§

The IP address of the Amazon Web Services resource that is the source of the path.

Examples found in repository?
src/client.rs (line 19391)
19390
19391
19392
19393
        pub fn source_ip(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.source_ip(input.into());
            self
        }

The IP address of the Amazon Web Services resource that is the source of the path.

Examples found in repository?
src/client.rs (line 19396)
19395
19396
19397
19398
        pub fn set_source_ip(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_source_ip(input);
            self
        }

The IP address of the Amazon Web Services resource that is the destination of the path.

Examples found in repository?
src/client.rs (line 19401)
19400
19401
19402
19403
        pub fn destination_ip(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.destination_ip(input.into());
            self
        }

The IP address of the Amazon Web Services resource that is the destination of the path.

Examples found in repository?
src/client.rs (line 19409)
19405
19406
19407
19408
19409
19410
19411
        pub fn set_destination_ip(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_destination_ip(input);
            self
        }

The Amazon Web Services resource that is the source of the path.

Examples found in repository?
src/client.rs (line 19414)
19413
19414
19415
19416
        pub fn source(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.source(input.into());
            self
        }

The Amazon Web Services resource that is the source of the path.

Examples found in repository?
src/client.rs (line 19419)
19418
19419
19420
19421
        pub fn set_source(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_source(input);
            self
        }

The Amazon Web Services resource that is the destination of the path.

Examples found in repository?
src/client.rs (line 19424)
19423
19424
19425
19426
        pub fn destination(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.destination(input.into());
            self
        }

The Amazon Web Services resource that is the destination of the path.

Examples found in repository?
src/client.rs (line 19429)
19428
19429
19430
19431
        pub fn set_destination(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_destination(input);
            self
        }

The protocol.

Examples found in repository?
src/client.rs (line 19434)
19433
19434
19435
19436
        pub fn protocol(mut self, input: crate::model::Protocol) -> Self {
            self.inner = self.inner.protocol(input);
            self
        }

The protocol.

Examples found in repository?
src/client.rs (line 19439)
19438
19439
19440
19441
        pub fn set_protocol(mut self, input: std::option::Option<crate::model::Protocol>) -> Self {
            self.inner = self.inner.set_protocol(input);
            self
        }

The destination port.

Examples found in repository?
src/client.rs (line 19444)
19443
19444
19445
19446
        pub fn destination_port(mut self, input: i32) -> Self {
            self.inner = self.inner.destination_port(input);
            self
        }

The destination port.

Examples found in repository?
src/client.rs (line 19449)
19448
19449
19450
19451
        pub fn set_destination_port(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_destination_port(input);
            self
        }

Appends an item to tag_specifications.

To override the contents of this collection use set_tag_specifications.

The tags to add to the path.

Examples found in repository?
src/client.rs (line 19458)
19457
19458
19459
19460
        pub fn tag_specifications(mut self, input: crate::model::TagSpecification) -> Self {
            self.inner = self.inner.tag_specifications(input);
            self
        }

The tags to add to the path.

Examples found in repository?
src/client.rs (line 19466)
19462
19463
19464
19465
19466
19467
19468
        pub fn set_tag_specifications(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::TagSpecification>>,
        ) -> Self {
            self.inner = self.inner.set_tag_specifications(input);
            self
        }

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Examples found in repository?
src/client.rs (line 19471)
19470
19471
19472
19473
        pub fn dry_run(mut self, input: bool) -> Self {
            self.inner = self.inner.dry_run(input);
            self
        }

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Examples found in repository?
src/client.rs (line 19476)
19475
19476
19477
19478
        pub fn set_dry_run(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_dry_run(input);
            self
        }

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

Examples found in repository?
src/client.rs (line 19481)
19480
19481
19482
19483
        pub fn client_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.client_token(input.into());
            self
        }

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

Examples found in repository?
src/client.rs (line 19486)
19485
19486
19487
19488
        pub fn set_client_token(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_client_token(input);
            self
        }

Consumes the builder and constructs a CreateNetworkInsightsPathInput.

Examples found in repository?
src/client.rs (line 19358)
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::CreateNetworkInsightsPath,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::CreateNetworkInsightsPathError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// 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](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::CreateNetworkInsightsPathOutput,
            aws_smithy_http::result::SdkError<crate::error::CreateNetworkInsightsPathError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

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
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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