AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Creates an SSM document.

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

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract CreateDocumentResponse CreateDocument(
         CreateDocumentRequest request
)

Parameters

request
Type: Amazon.SimpleSystemsManagement.Model.CreateDocumentRequest

Container for the necessary parameters to execute the CreateDocument service method.

Return Value
Type: Amazon.SimpleSystemsManagement.Model.CreateDocumentResponse
The response from the CreateDocument service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
DocumentAlreadyExistsException The specified SSM document already exists.
DocumentLimitExceededException You can have at most 100 active SSM documents.
InternalServerErrorException An error occurred on the server side.
InvalidDocumentContentException The content for the SSM document is not valid.
MaxDocumentSizeExceededException The size limit of an SSM document is 64 KB.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5