amazonka-ssm-1.3.0: 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

Contents

Description

Amazon EC2 Simple Systems Manager (SSM) enables you to configure and manage your EC2 instances. You can create a configuration document and then associate it with one or more running instances.

You can use a configuration document to automate the following tasks for your Windows instances:

  • Join an AWS Directory
  • Install, repair, or uninstall software using an MSI package
  • Run PowerShell scripts
  • Configure CloudWatch Logs to monitor applications and systems

Note that configuration documents are not supported on Linux instances.

See: AWS API Reference

Synopsis

Service Configuration

sSM :: Service Source

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SSM.

AssociatedInstances

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

You must disassociate a configuration document from all instances before you can delete it.

InvalidInstanceId

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

You must specify the ID of a running instance.

StatusUnchanged

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

The updated status is the same as the current status.

InvalidNextToken

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

The specified token is not valid.

DuplicateInstanceId

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

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

InvalidDocument

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

The configuration document is not valid.

AssociationAlreadyExists

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

The specified association already exists.

InvalidDocumentContent

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

The content for the configuration document is not valid.

AssociationLimitExceeded

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

You can have at most 2,000 active associations.

AssociationDoesNotExist

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

The specified association does not exist.

InternalServerError

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

An error occurred on the server side.

TooManyUpdates

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

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

MaxDocumentSizeExceeded

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

The size limit of a configuration document is 64 KB.

DocumentAlreadyExists

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

The specified configuration document already exists.

DocumentLimitExceeded

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

You can have at most 100 active configuration documents.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeDocument

CreateAssociation

CreateDocument

ListDocuments

GetDocument

DescribeAssociation

UpdateAssociationStatus

ListAssociations

DeleteAssociation

DeleteDocument

CreateAssociationBatch

Types

AssociationFilterKey

AssociationStatusName

DocumentFilterKey

DocumentStatus

Fault

Association

data Association Source

Describes an association of a configuration 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 configuration 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 configuration 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.

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.

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 configuration document.

dSha1 :: Lens' DocumentDescription (Maybe Text) Source

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

dCreatedDate :: Lens' DocumentDescription (Maybe UTCTime) Source

The date when the configuration document was created.

dName :: Lens' DocumentDescription (Maybe Text) Source

The name of the configuration 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:

diName :: Lens' DocumentIdentifier (Maybe Text) Source

The name of the configuration document.

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.