pub struct AwsCliCommandContext {
pub service_name: String,
pub operation_name: String,
pub parameters: HashMap<String, AwsCliValue>,
pub service_prefix: Option<String>,
pub http_method: Option<String>,
pub is_read_only: Option<bool>,
}Expand description
AWS service, operation, and input values needed to model one AWS CLI command as CloudFormation resource state.
Fields§
§service_name: String§operation_name: String§parameters: HashMap<String, AwsCliValue>§service_prefix: Option<String>§http_method: Option<String>§is_read_only: Option<bool>Implementations§
Source§impl AwsCliCommandContext
impl AwsCliCommandContext
pub fn new( service_name: impl Into<String>, operation_name: impl Into<String>, parameters: impl IntoIterator<Item = (String, AwsCliValue)>, ) -> Self
pub fn with_service_prefix(self, service_prefix: impl Into<String>) -> Self
pub fn with_http_method(self, http_method: impl Into<String>) -> Self
pub fn with_read_only(self, is_read_only: bool) -> Self
Trait Implementations§
Source§impl Clone for AwsCliCommandContext
impl Clone for AwsCliCommandContext
Source§impl Debug for AwsCliCommandContext
impl Debug for AwsCliCommandContext
Source§impl<'de> Deserialize<'de> for AwsCliCommandContext
impl<'de> Deserialize<'de> for AwsCliCommandContext
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 PartialEq for AwsCliCommandContext
impl PartialEq for AwsCliCommandContext
Source§impl Serialize for AwsCliCommandContext
impl Serialize for AwsCliCommandContext
impl StructuralPartialEq for AwsCliCommandContext
Auto Trait Implementations§
impl Freeze for AwsCliCommandContext
impl RefUnwindSafe for AwsCliCommandContext
impl Send for AwsCliCommandContext
impl Sync for AwsCliCommandContext
impl Unpin for AwsCliCommandContext
impl UnsafeUnpin for AwsCliCommandContext
impl UnwindSafe for AwsCliCommandContext
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