amazonka-ssm-1.3.6: Amazon Simple Systems Management Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SSM.Types

Contents

Description

 

Synopsis

Service Configuration

sSM :: Service Source

API version '2014-11-06' of the Amazon Simple Systems Management Service SDK configuration.

Errors

_UnsupportedPlatformType :: AsError a => Getting (First ServiceError) a ServiceError Source

The document does not support the platform type of the given instance ID(s).

_AssociatedInstances :: AsError a => Getting (First ServiceError) a ServiceError Source

You must disassociate an SSM document from all instances before you can delete it.

_InvalidInstanceId :: AsError a => Getting (First ServiceError) a ServiceError Source

The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.

_StatusUnchanged :: AsError a => Getting (First ServiceError) a ServiceError Source

The updated status is the same as the current status.

_InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified token is not valid.

_InvalidOutputFolder :: AsError a => Getting (First ServiceError) a ServiceError Source

The S3 bucket does not exist.

_InvalidCommandId :: AsError a => Getting (First ServiceError) a ServiceError Source

Prism for InvalidCommandId' errors.

_DuplicateInstanceId :: AsError a => Getting (First ServiceError) a ServiceError Source

You cannot specify an instance ID in more than one association.

_InvalidDocument :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified document does not exist.

_InvalidFilterKey :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified key is not valid.

_InvalidInstanceInformationFilterValue :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified filter value is not valid.

_AssociationAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified association already exists.

_InvalidDocumentContent :: AsError a => Getting (First ServiceError) a ServiceError Source

The content for the SSM document is not valid.

_AssociationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source

You can have at most 2,000 active associations.

_AssociationDoesNotExist :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified association does not exist.

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source

An error occurred on the server side.

_TooManyUpdates :: AsError a => Getting (First ServiceError) a ServiceError Source

There are concurrent updates for a resource that supports one update at a time.

_MaxDocumentSizeExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source

The size limit of an SSM document is 64 KB.

_InvalidParameters :: AsError a => Getting (First ServiceError) a ServiceError Source

You must specify values for all required parameters in the SSM document. You can only supply values to parameters defined in the SSM document.

_DocumentAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified SSM document already exists.

_DocumentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source

You can have at most 100 active SSM documents.

AssociationFilterKey

AssociationStatusName

CommandFilterKey

CommandInvocationStatus

CommandPluginStatus

CommandStatus

DocumentFilterKey

DocumentParameterType

DocumentStatus

Fault

InstanceInformationFilterKey

PingStatus

PlatformType

Association

data Association Source

Describes an association of an SSM document and an instance.

See: association smart constructor.

association :: Association Source

Creates a value of Association with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aInstanceId :: Lens' Association (Maybe Text) Source

The ID of the instance.

aName :: Lens' Association (Maybe Text) Source

The name of the SSM document.

AssociationDescription

associationDescription :: AssociationDescription Source

Creates a value of AssociationDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

adDate :: Lens' AssociationDescription (Maybe UTCTime) Source

The date when the association was made.

adName :: Lens' AssociationDescription (Maybe Text) Source

The name of the SSM document.

adParameters :: Lens' AssociationDescription (HashMap Text [Text]) Source

A description of the parameters for a document.

AssociationFilter

associationFilter Source

Creates a value of AssociationFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

AssociationStatus

associationStatus Source

Creates a value of AssociationStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asDate :: Lens' AssociationStatus UTCTime Source

The date when the status changed.

asMessage :: Lens' AssociationStatus Text Source

The reason for the status.

Command

data Command Source

Describes a command request.

See: command smart constructor.

command :: Command Source

Creates a value of Command with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cStatus :: Lens' Command (Maybe CommandStatus) Source

The status of the command.

cExpiresAfter :: Lens' Command (Maybe UTCTime) Source

If this time is reached and the command has not already started executing, it will not execute. Calculated based on the ExpiresAfter user input provided as part of the SendCommand API.

cOutputS3KeyPrefix :: Lens' Command (Maybe Text) Source

The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command.

cDocumentName :: Lens' Command (Maybe Text) Source

The name of the SSM document requested for execution.

cInstanceIds :: Lens' Command (Maybe (NonEmpty Text)) Source

The instance IDs against which this command was requested.

cCommandId :: Lens' Command (Maybe Text) Source

A unique identifier for this command.

cParameters :: Lens' Command (HashMap Text [Text]) Source

The parameter values to be inserted in the SSM document when executing the command.

cComment :: Lens' Command (Maybe Text) Source

User-specified information about the command, such as a brief description of what the command should do.

cOutputS3BucketName :: Lens' Command (Maybe Text) Source

The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command.

cRequestedDateTime :: Lens' Command (Maybe UTCTime) Source

The date and time the command was requested.

CommandFilter

commandFilter Source

Creates a value of CommandFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cfKey :: Lens' CommandFilter CommandFilterKey Source

The name of the filter. For example, requested date and time.

cfValue :: Lens' CommandFilter Text Source

The filter value. For example: June 30, 2015.

CommandInvocation

data CommandInvocation Source

An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user executes SendCommand against three instances, then a command invocation is created for each requested instance ID. A command invocation returns status and detail information about a command you executed.

See: commandInvocation smart constructor.

commandInvocation :: CommandInvocation Source

Creates a value of CommandInvocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ciInstanceId :: Lens' CommandInvocation (Maybe Text) Source

The instance ID in which this invocation was requested.

ciStatus :: Lens' CommandInvocation (Maybe CommandInvocationStatus) Source

Whether or not the invocation succeeded, failed, or is pending.

ciDocumentName :: Lens' CommandInvocation (Maybe Text) Source

The document name that was requested for execution.

ciCommandId :: Lens' CommandInvocation (Maybe Text) Source

The command against which this invocation was requested.

ciComment :: Lens' CommandInvocation (Maybe Text) Source

User-specified information about the command, such as a brief description of what the command should do.

ciTraceOutput :: Lens' CommandInvocation (Maybe Text) Source

Gets the trace output sent by the agent.

ciRequestedDateTime :: Lens' CommandInvocation (Maybe UTCTime) Source

The time and date the request was sent to this instance.

CommandPlugin

commandPlugin :: CommandPlugin Source

Creates a value of CommandPlugin with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cpStatus :: Lens' CommandPlugin (Maybe CommandPluginStatus) Source

The status of this plugin. You can execute a document with multiple plugins.

cpResponseStartDateTime :: Lens' CommandPlugin (Maybe UTCTime) Source

The time the plugin started executing.

cpOutputS3KeyPrefix :: Lens' CommandPlugin (Maybe Text) Source

The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command.

cpResponseCode :: Lens' CommandPlugin (Maybe Int) Source

A numeric response code generated after executing the plugin.

cpOutput :: Lens' CommandPlugin (Maybe Text) Source

Output of the plugin execution.

cpName :: Lens' CommandPlugin (Maybe Text) Source

The name of the plugin. Must be one of the following: AWS-JoinDirectoryServiceDomain, AWS-InstallApplication, AWS-RunPowerShellScript, AWS-InstallPowerShellModule, AWS-ConfigureCloudWatch.

cpOutputS3BucketName :: Lens' CommandPlugin (Maybe Text) Source

The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command.

cpResponseFinishDateTime :: Lens' CommandPlugin (Maybe UTCTime) Source

The time the plugin stopped executing. Could stop prematurely if, for example, a cancel command was sent.

CreateAssociationBatchRequestEntry

createAssociationBatchRequestEntry :: CreateAssociationBatchRequestEntry Source

Creates a value of CreateAssociationBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cabreName :: Lens' CreateAssociationBatchRequestEntry (Maybe Text) Source

The name of the configuration document.

cabreParameters :: Lens' CreateAssociationBatchRequestEntry (HashMap Text [Text]) Source

A description of the parameters for a document.

DocumentDescription

documentDescription :: DocumentDescription Source

Creates a value of DocumentDescription with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dStatus :: Lens' DocumentDescription (Maybe DocumentStatus) Source

The status of the SSM document.

dSha1 :: Lens' DocumentDescription (Maybe Text) Source

The SHA1 hash of the document, which you can use for verification purposes.

dPlatformTypes :: Lens' DocumentDescription [PlatformType] Source

The list of OS platforms compatible with this SSM document.

dCreatedDate :: Lens' DocumentDescription (Maybe UTCTime) Source

The date when the SSM document was created.

dName :: Lens' DocumentDescription (Maybe Text) Source

The name of the SSM document.

dParameters :: Lens' DocumentDescription [DocumentParameter] Source

A description of the parameters for a document.

dDescription :: Lens' DocumentDescription (Maybe Text) Source

A description of the document.

DocumentFilter

documentFilter Source

Creates a value of DocumentFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dfValue :: Lens' DocumentFilter Text Source

The value of the filter.

DocumentIdentifier

documentIdentifier :: DocumentIdentifier Source

Creates a value of DocumentIdentifier with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

diPlatformTypes :: Lens' DocumentIdentifier [PlatformType] Source

The operating system platform.

diName :: Lens' DocumentIdentifier (Maybe Text) Source

The name of the SSM document.

DocumentParameter

documentParameter :: DocumentParameter Source

Creates a value of DocumentParameter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dpName :: Lens' DocumentParameter (Maybe Text) Source

The name of the parameter.

dpDefaultValue :: Lens' DocumentParameter (Maybe Text) Source

If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.

dpType :: Lens' DocumentParameter (Maybe DocumentParameterType) Source

The type of parameter. The type can be either “String” or “StringList”.

dpDescription :: Lens' DocumentParameter (Maybe Text) Source

A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.

FailedCreateAssociation

failedCreateAssociation :: FailedCreateAssociation Source

Creates a value of FailedCreateAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fcaFault :: Lens' FailedCreateAssociation (Maybe Fault) Source

The source of the failure.

fcaMessage :: Lens' FailedCreateAssociation (Maybe Text) Source

A description of the failure.

InstanceInformation

instanceInformation :: InstanceInformation Source

Creates a value of InstanceInformation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iiPingStatus :: Lens' InstanceInformation (Maybe PingStatus) Source

Connection status of the SSM agent.

iiPlatformVersion :: Lens' InstanceInformation (Maybe Text) Source

The version of the OS platform running on your instance.

iiIsLatestVersion :: Lens' InstanceInformation (Maybe Bool) Source

Indicates whether latest version of the SSM agent is running on your instance.

iiAgentVersion :: Lens' InstanceInformation (Maybe Text) Source

The version of the SSM agent running on your instance.

iiLastPingDateTime :: Lens' InstanceInformation (Maybe UTCTime) Source

The date and time when agent last pinged SSM service.

iiPlatformType :: Lens' InstanceInformation (Maybe PlatformType) Source

The operating system platform type.

iiPlatformName :: Lens' InstanceInformation (Maybe Text) Source

The name of the operating system platform running on your instance.

InstanceInformationFilter

instanceInformationFilter Source

Creates a value of InstanceInformationFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired: