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.
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
public abstract CreateDocumentResponse CreateDocument( CreateDocumentRequest request )
Container for the necessary parameters to execute the CreateDocument service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5