pub struct UseAwsInput {
pub service_name: String,
pub operation_name: String,
pub parameters: Value,
pub region: String,
pub label: Option<String>,
pub profile_name: Option<String>,
}Expand description
Input parameters for the AWS service tool.
§Required Fields
service_name: AWS service (e.g., “sts”, “dynamodb”, “lambda”)operation_name: API operation in PascalCase (e.g., “GetCallerIdentity”)region: AWS region (e.g., “us-east-1”)label: Human-readable description for logging
§Optional Fields
parameters: Operation parameters as a JSON object (default:{})profile_name: AWS profile from ~/.aws/credentials
Fields§
§service_name: StringThe AWS service name (e.g., “sts”, “s3”, “dynamodb”, “lambda”, “ec2”). Use lowercase service names as they appear in AWS endpoint URLs.
operation_name: StringThe API operation to perform (e.g., “GetCallerIdentity”, “ListBuckets”). Use PascalCase as they appear in AWS API documentation.
parameters: ValueParameters for the operation as a JSON object. These are passed as the request body for JSON-based APIs.
region: StringAWS region for the API call (e.g., “us-east-1”, “us-west-2”).
label: Option<String>Human-readable description of what this operation does. Used for logging and display purposes.
profile_name: Option<String>Optional AWS profile name from ~/.aws/credentials. If not specified, uses default credential chain.
Trait Implementations§
Source§impl Debug for UseAwsInput
impl Debug for UseAwsInput
Source§impl<'de> Deserialize<'de> for UseAwsInput
impl<'de> Deserialize<'de> for UseAwsInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for UseAwsInput
impl JsonSchema for UseAwsInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for UseAwsInput
impl RefUnwindSafe for UseAwsInput
impl Send for UseAwsInput
impl Sync for UseAwsInput
impl Unpin for UseAwsInput
impl UnsafeUnpin for UseAwsInput
impl UnwindSafe for UseAwsInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.