AWS SDK Version 3 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.

Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs on your managed nodes. For more information about SSM documents, including information about supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the Amazon Web Services Systems Manager User Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateDocumentAsync.

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

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


The response from the CreateDocument service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
DocumentAlreadyExistsException The specified document already exists.
DocumentLimitExceededException You can have at most 500 active SSM documents.
InternalServerErrorException An error occurred on the server side.
InvalidDocumentContentException The content for the document isn't valid.
InvalidDocumentSchemaVersionException The version of the document schema isn't supported.
MaxDocumentSizeExceededException The size limit of a document is 64 KB.

Version Information

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

See Also