CreateServiceActionInput
public struct CreateServiceActionInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The language code. en - English (default) jp - Japanese zh - Chinese
Declaration
Swift
public let acceptLanguage: 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”: “LAUNCH_ROLE”. Parameters The list of parameters in JSON format. For example: [{\“Name\”:\“InstanceId\”,\“Type\”:\“TARGET\”}] or [{\“Name\”:\“InstanceId\”,\“Type\”:\“TEXT_VALUE\”}].
Declaration
Swift
public let definition: [ServiceActionDefinitionKey : String]
-
The service action definition type. For example, SSM_AUTOMATION.
Declaration
Swift
public let definitionType: ServiceActionDefinitionType
-
The self-service action description.
Declaration
Swift
public let description: 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.
Declaration
Swift
public let idempotencyToken: String
-
The self-service action name.
Declaration
Swift
public let name: String
-
Undocumented
Declaration
Swift
public init(acceptLanguage: String? = nil, definition: [ServiceActionDefinitionKey : String], definitionType: ServiceActionDefinitionType, description: String? = nil, idempotencyToken: String = CreateServiceActionInput.idempotencyToken(), name: String)
-
Declaration
Swift
public func validate(name: String) throws