[][src]Struct rusoto_servicecatalog::CreateServiceActionInput

pub struct CreateServiceActionInput {
    pub accept_language: Option<String>,
    pub definition: HashMap<String, String>,
    pub definition_type: String,
    pub description: Option<String>,
    pub idempotency_token: String,
    pub name: String,
}

Fields

accept_language: Option<String>

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

definition: HashMap<String, String>

The self-service action definition. Can be one of the following:

Name

The name of the AWS Systems Manager document (SSM document). For example, AWS-RestartEC2Instance.

If you are using a shared SSM document, you must provide the ARN instead of the name.

Version

The AWS Systems Manager automation document version. For example, "Version": "1"

AssumeRole

The Amazon Resource Name (ARN) of the role that performs the self-service actions on your behalf. For example, "AssumeRole": "arn:aws:iam::12345678910:role/ActionRole".

To reuse the provisioned product launch role, set to "AssumeRole": "LAUNCHROLE".

Parameters

The list of parameters in JSON format.

For example: [{"Name":"InstanceId","Type":"TARGET"}] or [{"Name":"InstanceId","Type":"TEXTVALUE"}].

definition_type: String

The service action definition type. For example, SSM_AUTOMATION.

description: Option<String>

The self-service action description.

idempotency_token: String

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

name: String

The self-service action name.

Trait Implementations

impl Clone for CreateServiceActionInput[src]

impl Debug for CreateServiceActionInput[src]

impl Default for CreateServiceActionInput[src]

impl PartialEq<CreateServiceActionInput> for CreateServiceActionInput[src]

impl Serialize for CreateServiceActionInput[src]

impl StructuralPartialEq for CreateServiceActionInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.