amazonka-ssm-1.2.0.1: 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.CreateDocument

Contents

Description

Creates a configuration document.

After you create a configuration document, you can use CreateAssociation to associate it with one or more running instances.

See: AWS API Reference for CreateDocument.

Synopsis

Creating a Request

createDocument Source

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

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

Request Lenses

cdContent :: Lens' CreateDocument Text Source

A valid JSON file. For more information about the contents of this file, see Configuration Document.

cdName :: Lens' CreateDocument Text Source

A name for the configuration document.

Destructuring the Response

createDocumentResponse Source

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

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

Response Lenses

cdrsDocumentDescription :: Lens' CreateDocumentResponse (Maybe DocumentDescription) Source

Information about the configuration document.

cdrsStatus :: Lens' CreateDocumentResponse Int Source

The response status code.