AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SSM

import "github.com/aws/aws-sdk-go/service/ssm"

type SSM struct { *client.Client }

SSM provides the API operation methods for making requests to Amazon Simple Systems Manager (SSM). See this package's package overview docs for details on the service.

SSM methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

AddTagsToResource

func (c *SSM) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)

AddTagsToResource API operation for Amazon Simple Systems Manager (SSM).

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your documents, managed instances, Maintenance Windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed instances that helps you track each instance's owner and stack level. For example: Key=Owner and Value=DbAdmin, SysAdmin, or Dev. Or Key=Stack and Value=Production, Pre-Production, or Test.

Each resource can have a maximum of 50 tags.

We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to Amazon EC2 and are interpreted strictly as a string of characters.

For more information about tags, see Tagging Your Amazon EC2 Resources (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) in the Amazon EC2 User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation AddTagsToResource for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceType "InvalidResourceType" The resource type is not valid. For example, if you are attempting to tag an instance, the instance must be a registered, managed instance.

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeTooManyTagsError "TooManyTagsError" The Targets parameter includes too many tags. Remove one or more tags and try the command again.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource

AddTagsToResourceRequest

func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)

AddTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddTagsToResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTagsToResource for more information on using the AddTagsToResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTagsToResourceRequest method. req, resp := client.AddTagsToResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource

AddTagsToResourceWithContext

func (c *SSM) AddTagsToResourceWithContext(ctx aws.Context, input *AddTagsToResourceInput, opts ...request.Option) (*AddTagsToResourceOutput, error)

AddTagsToResourceWithContext is the same as AddTagsToResource with the addition of the ability to pass a context and additional request options.

See AddTagsToResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CancelCommand

func (c *SSM) CancelCommand(input *CancelCommandInput) (*CancelCommandOutput, error)

CancelCommand API operation for Amazon Simple Systems Manager (SSM).

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CancelCommand for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidCommandId "InvalidCommandId"

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeDuplicateInstanceId "DuplicateInstanceId" You cannot specify an instance ID in more than one association.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand

CancelCommandRequest

func (c *SSM) CancelCommandRequest(input *CancelCommandInput) (req *request.Request, output *CancelCommandOutput)

CancelCommandRequest generates a "aws/request.Request" representing the client's request for the CancelCommand operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelCommand for more information on using the CancelCommand API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelCommandRequest method. req, resp := client.CancelCommandRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand

CancelCommandWithContext

func (c *SSM) CancelCommandWithContext(ctx aws.Context, input *CancelCommandInput, opts ...request.Option) (*CancelCommandOutput, error)

CancelCommandWithContext is the same as CancelCommand with the addition of the ability to pass a context and additional request options.

See CancelCommand for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CancelMaintenanceWindowExecution

func (c *SSM) CancelMaintenanceWindowExecution(input *CancelMaintenanceWindowExecutionInput) (*CancelMaintenanceWindowExecutionOutput, error)

CancelMaintenanceWindowExecution API operation for Amazon Simple Systems Manager (SSM).

Stops a Maintenance Window execution that is already in progress and cancels any tasks in the window that have not already starting running. (Tasks already in progress will continue to completion.)

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CancelMaintenanceWindowExecution for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecution

CancelMaintenanceWindowExecutionRequest

func (c *SSM) CancelMaintenanceWindowExecutionRequest(input *CancelMaintenanceWindowExecutionInput) (req *request.Request, output *CancelMaintenanceWindowExecutionOutput)

CancelMaintenanceWindowExecutionRequest generates a "aws/request.Request" representing the client's request for the CancelMaintenanceWindowExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelMaintenanceWindowExecution for more information on using the CancelMaintenanceWindowExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelMaintenanceWindowExecutionRequest method. req, resp := client.CancelMaintenanceWindowExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecution

CancelMaintenanceWindowExecutionWithContext

func (c *SSM) CancelMaintenanceWindowExecutionWithContext(ctx aws.Context, input *CancelMaintenanceWindowExecutionInput, opts ...request.Option) (*CancelMaintenanceWindowExecutionOutput, error)

CancelMaintenanceWindowExecutionWithContext is the same as CancelMaintenanceWindowExecution with the addition of the ability to pass a context and additional request options.

See CancelMaintenanceWindowExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateActivation

func (c *SSM) CreateActivation(input *CreateActivationInput) (*CreateActivationOutput, error)

CreateActivation API operation for Amazon Simple Systems Manager (SSM).

Registers your on-premises server or virtual machine with Amazon EC2 so that you can manage these resources using Run Command. An on-premises server or virtual machine that has been registered with EC2 is called a managed instance. For more information about activations, see Setting Up Systems Manager in Hybrid Environments (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreateActivation for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation

CreateActivationRequest

func (c *SSM) CreateActivationRequest(input *CreateActivationInput) (req *request.Request, output *CreateActivationOutput)

CreateActivationRequest generates a "aws/request.Request" representing the client's request for the CreateActivation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateActivation for more information on using the CreateActivation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateActivationRequest method. req, resp := client.CreateActivationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation

CreateActivationWithContext

func (c *SSM) CreateActivationWithContext(ctx aws.Context, input *CreateActivationInput, opts ...request.Option) (*CreateActivationOutput, error)

CreateActivationWithContext is the same as CreateActivation with the addition of the ability to pass a context and additional request options.

See CreateActivation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateAssociation

func (c *SSM) CreateAssociation(input *CreateAssociationInput) (*CreateAssociationOutput, error)

CreateAssociation API operation for Amazon Simple Systems Manager (SSM).

Associates the specified Systems Manager document with the specified instances or targets.

When you associate a document with one or more instances using instance IDs or tags, SSM Agent running on the instance processes the document and configures the instance as specified.

If you associate a document with an instance that already has an associated document, the system returns the AssociationAlreadyExists exception.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreateAssociation for usage and error information.

Returned Error Codes:

  • ErrCodeAssociationAlreadyExists "AssociationAlreadyExists" The specified association already exists.

  • ErrCodeAssociationLimitExceeded "AssociationLimitExceeded" You can have at most 2,000 active associations.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeUnsupportedPlatformType "UnsupportedPlatformType" The document does not support the platform type of the given instance ID(s). For example, you sent an document for a Windows instance to a Linux instance.

  • ErrCodeInvalidOutputLocation "InvalidOutputLocation" The output location is not valid or does not exist.

  • ErrCodeInvalidParameters "InvalidParameters" You must specify values for all required parameters in the Systems Manager document. You can only supply values to parameters defined in the Systems Manager document.

  • ErrCodeInvalidTarget "InvalidTarget" The target is not valid or does not exist. It might not be configured for EC2 Systems Manager or you might not have permission to perform the operation.

  • ErrCodeInvalidSchedule "InvalidSchedule" The schedule is invalid. Verify your cron or rate expression and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation

CreateAssociationBatch

func (c *SSM) CreateAssociationBatch(input *CreateAssociationBatchInput) (*CreateAssociationBatchOutput, error)

CreateAssociationBatch API operation for Amazon Simple Systems Manager (SSM).

Associates the specified Systems Manager document with the specified instances or targets.

When you associate a document with one or more instances using instance IDs or tags, SSM Agent running on the instance processes the document and configures the instance as specified.

If you associate a document with an instance that already has an associated document, the system returns the AssociationAlreadyExists exception.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreateAssociationBatch for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidParameters "InvalidParameters" You must specify values for all required parameters in the Systems Manager document. You can only supply values to parameters defined in the Systems Manager document.

  • ErrCodeDuplicateInstanceId "DuplicateInstanceId" You cannot specify an instance ID in more than one association.

  • ErrCodeAssociationLimitExceeded "AssociationLimitExceeded" You can have at most 2,000 active associations.

  • ErrCodeUnsupportedPlatformType "UnsupportedPlatformType" The document does not support the platform type of the given instance ID(s). For example, you sent an document for a Windows instance to a Linux instance.

  • ErrCodeInvalidOutputLocation "InvalidOutputLocation" The output location is not valid or does not exist.

  • ErrCodeInvalidTarget "InvalidTarget" The target is not valid or does not exist. It might not be configured for EC2 Systems Manager or you might not have permission to perform the operation.

  • ErrCodeInvalidSchedule "InvalidSchedule" The schedule is invalid. Verify your cron or rate expression and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch

CreateAssociationBatchRequest

func (c *SSM) CreateAssociationBatchRequest(input *CreateAssociationBatchInput) (req *request.Request, output *CreateAssociationBatchOutput)

CreateAssociationBatchRequest generates a "aws/request.Request" representing the client's request for the CreateAssociationBatch operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAssociationBatch for more information on using the CreateAssociationBatch API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAssociationBatchRequest method. req, resp := client.CreateAssociationBatchRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch

CreateAssociationBatchWithContext

func (c *SSM) CreateAssociationBatchWithContext(ctx aws.Context, input *CreateAssociationBatchInput, opts ...request.Option) (*CreateAssociationBatchOutput, error)

CreateAssociationBatchWithContext is the same as CreateAssociationBatch with the addition of the ability to pass a context and additional request options.

See CreateAssociationBatch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateAssociationRequest

func (c *SSM) CreateAssociationRequest(input *CreateAssociationInput) (req *request.Request, output *CreateAssociationOutput)

CreateAssociationRequest generates a "aws/request.Request" representing the client's request for the CreateAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAssociation for more information on using the CreateAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAssociationRequest method. req, resp := client.CreateAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation

CreateAssociationWithContext

func (c *SSM) CreateAssociationWithContext(ctx aws.Context, input *CreateAssociationInput, opts ...request.Option) (*CreateAssociationOutput, error)

CreateAssociationWithContext is the same as CreateAssociation with the addition of the ability to pass a context and additional request options.

See CreateAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDocument

func (c *SSM) CreateDocument(input *CreateDocumentInput) (*CreateDocumentOutput, error)

CreateDocument API operation for Amazon Simple Systems Manager (SSM).

Creates a Systems Manager document.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreateDocument for usage and error information.

Returned Error Codes:

  • ErrCodeDocumentAlreadyExists "DocumentAlreadyExists" The specified document already exists.

  • ErrCodeMaxDocumentSizeExceeded "MaxDocumentSizeExceeded" The size limit of a document is 64 KB.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocumentContent "InvalidDocumentContent" The content for the document is not valid.

  • ErrCodeDocumentLimitExceeded "DocumentLimitExceeded" You can have at most 200 active Systems Manager documents.

  • ErrCodeInvalidDocumentSchemaVersion "InvalidDocumentSchemaVersion" The version of the document schema is not supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument

CreateDocumentRequest

func (c *SSM) CreateDocumentRequest(input *CreateDocumentInput) (req *request.Request, output *CreateDocumentOutput)

CreateDocumentRequest generates a "aws/request.Request" representing the client's request for the CreateDocument operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDocument for more information on using the CreateDocument API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDocumentRequest method. req, resp := client.CreateDocumentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument

CreateDocumentWithContext

func (c *SSM) CreateDocumentWithContext(ctx aws.Context, input *CreateDocumentInput, opts ...request.Option) (*CreateDocumentOutput, error)

CreateDocumentWithContext is the same as CreateDocument with the addition of the ability to pass a context and additional request options.

See CreateDocument for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateMaintenanceWindow

func (c *SSM) CreateMaintenanceWindow(input *CreateMaintenanceWindowInput) (*CreateMaintenanceWindowOutput, error)

CreateMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Creates a new Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreateMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeIdempotentParameterMismatch "IdempotentParameterMismatch" Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.

  • ErrCodeResourceLimitExceededException "ResourceLimitExceededException" Error returned when the caller has exceeded the default resource limits. For example, too many Maintenance Windows or Patch baselines have been created.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow

CreateMaintenanceWindowRequest

func (c *SSM) CreateMaintenanceWindowRequest(input *CreateMaintenanceWindowInput) (req *request.Request, output *CreateMaintenanceWindowOutput)

CreateMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the CreateMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMaintenanceWindow for more information on using the CreateMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMaintenanceWindowRequest method. req, resp := client.CreateMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow

CreateMaintenanceWindowWithContext

func (c *SSM) CreateMaintenanceWindowWithContext(ctx aws.Context, input *CreateMaintenanceWindowInput, opts ...request.Option) (*CreateMaintenanceWindowOutput, error)

CreateMaintenanceWindowWithContext is the same as CreateMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See CreateMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreatePatchBaseline

func (c *SSM) CreatePatchBaseline(input *CreatePatchBaselineInput) (*CreatePatchBaselineOutput, error)

CreatePatchBaseline API operation for Amazon Simple Systems Manager (SSM).

Creates a patch baseline.

For information about valid key and value pairs in PatchFilters for each supported operating system type, see PatchFilter (https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreatePatchBaseline for usage and error information.

Returned Error Codes:

  • ErrCodeIdempotentParameterMismatch "IdempotentParameterMismatch" Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.

  • ErrCodeResourceLimitExceededException "ResourceLimitExceededException" Error returned when the caller has exceeded the default resource limits. For example, too many Maintenance Windows or Patch baselines have been created.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline

CreatePatchBaselineRequest

func (c *SSM) CreatePatchBaselineRequest(input *CreatePatchBaselineInput) (req *request.Request, output *CreatePatchBaselineOutput)

CreatePatchBaselineRequest generates a "aws/request.Request" representing the client's request for the CreatePatchBaseline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePatchBaseline for more information on using the CreatePatchBaseline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePatchBaselineRequest method. req, resp := client.CreatePatchBaselineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline

CreatePatchBaselineWithContext

func (c *SSM) CreatePatchBaselineWithContext(ctx aws.Context, input *CreatePatchBaselineInput, opts ...request.Option) (*CreatePatchBaselineOutput, error)

CreatePatchBaselineWithContext is the same as CreatePatchBaseline with the addition of the ability to pass a context and additional request options.

See CreatePatchBaseline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateResourceDataSync

func (c *SSM) CreateResourceDataSync(input *CreateResourceDataSyncInput) (*CreateResourceDataSyncOutput, error)

CreateResourceDataSync API operation for Amazon Simple Systems Manager (SSM).

Creates a resource data sync configuration to a single bucket in Amazon S3. This is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data to the Amazon S3 bucket. To check the status of the sync, use the ListResourceDataSync.

By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy. For more information, see Configuring Resource Data Sync for Inventory (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-datasync.html) in the AWS Systems Manager User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation CreateResourceDataSync for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeResourceDataSyncCountExceededException "ResourceDataSyncCountExceededException" You have exceeded the allowed maximum sync configurations.

  • ErrCodeResourceDataSyncAlreadyExistsException "ResourceDataSyncAlreadyExistsException" A sync configuration with the same name already exists.

  • ErrCodeResourceDataSyncInvalidConfigurationException "ResourceDataSyncInvalidConfigurationException" The specified sync configuration is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync

CreateResourceDataSyncRequest

func (c *SSM) CreateResourceDataSyncRequest(input *CreateResourceDataSyncInput) (req *request.Request, output *CreateResourceDataSyncOutput)

CreateResourceDataSyncRequest generates a "aws/request.Request" representing the client's request for the CreateResourceDataSync operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResourceDataSync for more information on using the CreateResourceDataSync API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResourceDataSyncRequest method. req, resp := client.CreateResourceDataSyncRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync

CreateResourceDataSyncWithContext

func (c *SSM) CreateResourceDataSyncWithContext(ctx aws.Context, input *CreateResourceDataSyncInput, opts ...request.Option) (*CreateResourceDataSyncOutput, error)

CreateResourceDataSyncWithContext is the same as CreateResourceDataSync with the addition of the ability to pass a context and additional request options.

See CreateResourceDataSync for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteActivation

func (c *SSM) DeleteActivation(input *DeleteActivationInput) (*DeleteActivationOutput, error)

DeleteActivation API operation for Amazon Simple Systems Manager (SSM).

Deletes an activation. You are not required to delete an activation. If you delete an activation, you can no longer use it to register additional managed instances. Deleting an activation does not de-register managed instances. You must manually de-register managed instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteActivation for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidActivationId "InvalidActivationId" The activation ID is not valid. Verify the you entered the correct ActivationId or ActivationCode and try again.

  • ErrCodeInvalidActivation "InvalidActivation" The activation is not valid. The activation might have been deleted, or the ActivationId and the ActivationCode do not match.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation

DeleteActivationRequest

func (c *SSM) DeleteActivationRequest(input *DeleteActivationInput) (req *request.Request, output *DeleteActivationOutput)

DeleteActivationRequest generates a "aws/request.Request" representing the client's request for the DeleteActivation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteActivation for more information on using the DeleteActivation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteActivationRequest method. req, resp := client.DeleteActivationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation

DeleteActivationWithContext

func (c *SSM) DeleteActivationWithContext(ctx aws.Context, input *DeleteActivationInput, opts ...request.Option) (*DeleteActivationOutput, error)

DeleteActivationWithContext is the same as DeleteActivation with the addition of the ability to pass a context and additional request options.

See DeleteActivation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteAssociation

func (c *SSM) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error)

DeleteAssociation API operation for Amazon Simple Systems Manager (SSM).

Disassociates the specified Systems Manager document from the specified instance.

When you disassociate a document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a document, you must create a new document with the desired configuration and associate it with the instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteAssociation for usage and error information.

Returned Error Codes:

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation

DeleteAssociationRequest

func (c *SSM) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput)

DeleteAssociationRequest generates a "aws/request.Request" representing the client's request for the DeleteAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAssociation for more information on using the DeleteAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAssociationRequest method. req, resp := client.DeleteAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation

DeleteAssociationWithContext

func (c *SSM) DeleteAssociationWithContext(ctx aws.Context, input *DeleteAssociationInput, opts ...request.Option) (*DeleteAssociationOutput, error)

DeleteAssociationWithContext is the same as DeleteAssociation with the addition of the ability to pass a context and additional request options.

See DeleteAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDocument

func (c *SSM) DeleteDocument(input *DeleteDocumentInput) (*DeleteDocumentOutput, error)

DeleteDocument API operation for Amazon Simple Systems Manager (SSM).

Deletes the Systems Manager document and all instance associations to the document.

Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteDocument for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentOperation "InvalidDocumentOperation" You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.

  • ErrCodeAssociatedInstances "AssociatedInstances" You must disassociate a document from all instances before you can delete it.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument

DeleteDocumentRequest

func (c *SSM) DeleteDocumentRequest(input *DeleteDocumentInput) (req *request.Request, output *DeleteDocumentOutput)

DeleteDocumentRequest generates a "aws/request.Request" representing the client's request for the DeleteDocument operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDocument for more information on using the DeleteDocument API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDocumentRequest method. req, resp := client.DeleteDocumentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument

DeleteDocumentWithContext

func (c *SSM) DeleteDocumentWithContext(ctx aws.Context, input *DeleteDocumentInput, opts ...request.Option) (*DeleteDocumentOutput, error)

DeleteDocumentWithContext is the same as DeleteDocument with the addition of the ability to pass a context and additional request options.

See DeleteDocument for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteInventory

func (c *SSM) DeleteInventory(input *DeleteInventoryInput) (*DeleteInventoryOutput, error)

DeleteInventory API operation for Amazon Simple Systems Manager (SSM).

Delete a custom inventory type, or the data associated with a custom Inventory type. Deleting a custom inventory type is also referred to as deleting a custom inventory schema.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteInventory for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidTypeNameException "InvalidTypeNameException" The parameter type name is not valid.

  • ErrCodeInvalidOptionException "InvalidOptionException" The delete inventory option specified is not valid. Verify the option and try again.

  • ErrCodeInvalidDeleteInventoryParametersException "InvalidDeleteInventoryParametersException" One or more of the parameters specified for the delete operation is not valid. Verify all parameters and try again.

  • ErrCodeInvalidInventoryRequestException "InvalidInventoryRequestException" The request is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventory

DeleteInventoryRequest

func (c *SSM) DeleteInventoryRequest(input *DeleteInventoryInput) (req *request.Request, output *DeleteInventoryOutput)

DeleteInventoryRequest generates a "aws/request.Request" representing the client's request for the DeleteInventory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInventory for more information on using the DeleteInventory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInventoryRequest method. req, resp := client.DeleteInventoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventory

DeleteInventoryWithContext

func (c *SSM) DeleteInventoryWithContext(ctx aws.Context, input *DeleteInventoryInput, opts ...request.Option) (*DeleteInventoryOutput, error)

DeleteInventoryWithContext is the same as DeleteInventory with the addition of the ability to pass a context and additional request options.

See DeleteInventory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteMaintenanceWindow

func (c *SSM) DeleteMaintenanceWindow(input *DeleteMaintenanceWindowInput) (*DeleteMaintenanceWindowOutput, error)

DeleteMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Deletes a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow

DeleteMaintenanceWindowRequest

func (c *SSM) DeleteMaintenanceWindowRequest(input *DeleteMaintenanceWindowInput) (req *request.Request, output *DeleteMaintenanceWindowOutput)

DeleteMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the DeleteMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMaintenanceWindow for more information on using the DeleteMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMaintenanceWindowRequest method. req, resp := client.DeleteMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow

DeleteMaintenanceWindowWithContext

func (c *SSM) DeleteMaintenanceWindowWithContext(ctx aws.Context, input *DeleteMaintenanceWindowInput, opts ...request.Option) (*DeleteMaintenanceWindowOutput, error)

DeleteMaintenanceWindowWithContext is the same as DeleteMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See DeleteMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteParameter

func (c *SSM) DeleteParameter(input *DeleteParameterInput) (*DeleteParameterOutput, error)

DeleteParameter API operation for Amazon Simple Systems Manager (SSM).

Delete a parameter from the system.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteParameter for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeParameterNotFound "ParameterNotFound" The parameter could not be found. Verify the name and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter

DeleteParameterRequest

func (c *SSM) DeleteParameterRequest(input *DeleteParameterInput) (req *request.Request, output *DeleteParameterOutput)

DeleteParameterRequest generates a "aws/request.Request" representing the client's request for the DeleteParameter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteParameter for more information on using the DeleteParameter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteParameterRequest method. req, resp := client.DeleteParameterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter

DeleteParameterWithContext

func (c *SSM) DeleteParameterWithContext(ctx aws.Context, input *DeleteParameterInput, opts ...request.Option) (*DeleteParameterOutput, error)

DeleteParameterWithContext is the same as DeleteParameter with the addition of the ability to pass a context and additional request options.

See DeleteParameter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteParameters

func (c *SSM) DeleteParameters(input *DeleteParametersInput) (*DeleteParametersOutput, error)

DeleteParameters API operation for Amazon Simple Systems Manager (SSM).

Delete a list of parameters. This API is used to delete parameters by using the Amazon EC2 console.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteParameters for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters

DeleteParametersRequest

func (c *SSM) DeleteParametersRequest(input *DeleteParametersInput) (req *request.Request, output *DeleteParametersOutput)

DeleteParametersRequest generates a "aws/request.Request" representing the client's request for the DeleteParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteParameters for more information on using the DeleteParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteParametersRequest method. req, resp := client.DeleteParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters

DeleteParametersWithContext

func (c *SSM) DeleteParametersWithContext(ctx aws.Context, input *DeleteParametersInput, opts ...request.Option) (*DeleteParametersOutput, error)

DeleteParametersWithContext is the same as DeleteParameters with the addition of the ability to pass a context and additional request options.

See DeleteParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeletePatchBaseline

func (c *SSM) DeletePatchBaseline(input *DeletePatchBaselineInput) (*DeletePatchBaselineOutput, error)

DeletePatchBaseline API operation for Amazon Simple Systems Manager (SSM).

Deletes a patch baseline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeletePatchBaseline for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" Error returned if an attempt is made to delete a patch baseline that is registered for a patch group.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline

DeletePatchBaselineRequest

func (c *SSM) DeletePatchBaselineRequest(input *DeletePatchBaselineInput) (req *request.Request, output *DeletePatchBaselineOutput)

DeletePatchBaselineRequest generates a "aws/request.Request" representing the client's request for the DeletePatchBaseline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePatchBaseline for more information on using the DeletePatchBaseline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePatchBaselineRequest method. req, resp := client.DeletePatchBaselineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline

DeletePatchBaselineWithContext

func (c *SSM) DeletePatchBaselineWithContext(ctx aws.Context, input *DeletePatchBaselineInput, opts ...request.Option) (*DeletePatchBaselineOutput, error)

DeletePatchBaselineWithContext is the same as DeletePatchBaseline with the addition of the ability to pass a context and additional request options.

See DeletePatchBaseline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteResourceDataSync

func (c *SSM) DeleteResourceDataSync(input *DeleteResourceDataSyncInput) (*DeleteResourceDataSyncOutput, error)

DeleteResourceDataSync API operation for Amazon Simple Systems Manager (SSM).

Deletes a Resource Data Sync configuration. After the configuration is deleted, changes to inventory data on managed instances are no longer synced with the target Amazon S3 bucket. Deleting a sync configuration does not delete data in the target Amazon S3 bucket.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeleteResourceDataSync for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeResourceDataSyncNotFoundException "ResourceDataSyncNotFoundException" The specified sync name was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync

DeleteResourceDataSyncRequest

func (c *SSM) DeleteResourceDataSyncRequest(input *DeleteResourceDataSyncInput) (req *request.Request, output *DeleteResourceDataSyncOutput)

DeleteResourceDataSyncRequest generates a "aws/request.Request" representing the client's request for the DeleteResourceDataSync operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResourceDataSync for more information on using the DeleteResourceDataSync API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResourceDataSyncRequest method. req, resp := client.DeleteResourceDataSyncRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync

DeleteResourceDataSyncWithContext

func (c *SSM) DeleteResourceDataSyncWithContext(ctx aws.Context, input *DeleteResourceDataSyncInput, opts ...request.Option) (*DeleteResourceDataSyncOutput, error)

DeleteResourceDataSyncWithContext is the same as DeleteResourceDataSync with the addition of the ability to pass a context and additional request options.

See DeleteResourceDataSync for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeregisterManagedInstance

func (c *SSM) DeregisterManagedInstance(input *DeregisterManagedInstanceInput) (*DeregisterManagedInstanceOutput, error)

DeregisterManagedInstance API operation for Amazon Simple Systems Manager (SSM).

Removes the server or virtual machine from the list of registered servers. You can reregister the instance again at any time. If you don't plan to use Run Command on the server, we suggest uninstalling SSM Agent first.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeregisterManagedInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance

DeregisterManagedInstanceRequest

func (c *SSM) DeregisterManagedInstanceRequest(input *DeregisterManagedInstanceInput) (req *request.Request, output *DeregisterManagedInstanceOutput)

DeregisterManagedInstanceRequest generates a "aws/request.Request" representing the client's request for the DeregisterManagedInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterManagedInstance for more information on using the DeregisterManagedInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterManagedInstanceRequest method. req, resp := client.DeregisterManagedInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance

DeregisterManagedInstanceWithContext

func (c *SSM) DeregisterManagedInstanceWithContext(ctx aws.Context, input *DeregisterManagedInstanceInput, opts ...request.Option) (*DeregisterManagedInstanceOutput, error)

DeregisterManagedInstanceWithContext is the same as DeregisterManagedInstance with the addition of the ability to pass a context and additional request options.

See DeregisterManagedInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeregisterPatchBaselineForPatchGroup

func (c *SSM) DeregisterPatchBaselineForPatchGroup(input *DeregisterPatchBaselineForPatchGroupInput) (*DeregisterPatchBaselineForPatchGroupOutput, error)

DeregisterPatchBaselineForPatchGroup API operation for Amazon Simple Systems Manager (SSM).

Removes a patch group from a patch baseline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeregisterPatchBaselineForPatchGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup

DeregisterPatchBaselineForPatchGroupRequest

func (c *SSM) DeregisterPatchBaselineForPatchGroupRequest(input *DeregisterPatchBaselineForPatchGroupInput) (req *request.Request, output *DeregisterPatchBaselineForPatchGroupOutput)

DeregisterPatchBaselineForPatchGroupRequest generates a "aws/request.Request" representing the client's request for the DeregisterPatchBaselineForPatchGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterPatchBaselineForPatchGroup for more information on using the DeregisterPatchBaselineForPatchGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterPatchBaselineForPatchGroupRequest method. req, resp := client.DeregisterPatchBaselineForPatchGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup

DeregisterPatchBaselineForPatchGroupWithContext

func (c *SSM) DeregisterPatchBaselineForPatchGroupWithContext(ctx aws.Context, input *DeregisterPatchBaselineForPatchGroupInput, opts ...request.Option) (*DeregisterPatchBaselineForPatchGroupOutput, error)

DeregisterPatchBaselineForPatchGroupWithContext is the same as DeregisterPatchBaselineForPatchGroup with the addition of the ability to pass a context and additional request options.

See DeregisterPatchBaselineForPatchGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeregisterTargetFromMaintenanceWindow

func (c *SSM) DeregisterTargetFromMaintenanceWindow(input *DeregisterTargetFromMaintenanceWindowInput) (*DeregisterTargetFromMaintenanceWindowOutput, error)

DeregisterTargetFromMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Removes a target from a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeregisterTargetFromMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeTargetInUseException "TargetInUseException" You specified the Safe option for the DeregisterTargetFromMaintenanceWindow operation, but the target is still referenced in a task.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow

DeregisterTargetFromMaintenanceWindowRequest

func (c *SSM) DeregisterTargetFromMaintenanceWindowRequest(input *DeregisterTargetFromMaintenanceWindowInput) (req *request.Request, output *DeregisterTargetFromMaintenanceWindowOutput)

DeregisterTargetFromMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the DeregisterTargetFromMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterTargetFromMaintenanceWindow for more information on using the DeregisterTargetFromMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterTargetFromMaintenanceWindowRequest method. req, resp := client.DeregisterTargetFromMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow

DeregisterTargetFromMaintenanceWindowWithContext

func (c *SSM) DeregisterTargetFromMaintenanceWindowWithContext(ctx aws.Context, input *DeregisterTargetFromMaintenanceWindowInput, opts ...request.Option) (*DeregisterTargetFromMaintenanceWindowOutput, error)

DeregisterTargetFromMaintenanceWindowWithContext is the same as DeregisterTargetFromMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See DeregisterTargetFromMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeregisterTaskFromMaintenanceWindow

func (c *SSM) DeregisterTaskFromMaintenanceWindow(input *DeregisterTaskFromMaintenanceWindowInput) (*DeregisterTaskFromMaintenanceWindowOutput, error)

DeregisterTaskFromMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Removes a task from a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DeregisterTaskFromMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow

DeregisterTaskFromMaintenanceWindowRequest

func (c *SSM) DeregisterTaskFromMaintenanceWindowRequest(input *DeregisterTaskFromMaintenanceWindowInput) (req *request.Request, output *DeregisterTaskFromMaintenanceWindowOutput)

DeregisterTaskFromMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the DeregisterTaskFromMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterTaskFromMaintenanceWindow for more information on using the DeregisterTaskFromMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterTaskFromMaintenanceWindowRequest method. req, resp := client.DeregisterTaskFromMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow

DeregisterTaskFromMaintenanceWindowWithContext

func (c *SSM) DeregisterTaskFromMaintenanceWindowWithContext(ctx aws.Context, input *DeregisterTaskFromMaintenanceWindowInput, opts ...request.Option) (*DeregisterTaskFromMaintenanceWindowOutput, error)

DeregisterTaskFromMaintenanceWindowWithContext is the same as DeregisterTaskFromMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See DeregisterTaskFromMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeActivations

func (c *SSM) DescribeActivations(input *DescribeActivationsInput) (*DescribeActivationsOutput, error)

DescribeActivations API operation for Amazon Simple Systems Manager (SSM).

Details about the activation, including: the date and time the activation was created, the expiration date, the IAM role assigned to the instances in the activation, and the number of instances activated by this registration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeActivations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations

DescribeActivationsPages

func (c *SSM) DescribeActivationsPages(input *DescribeActivationsInput, fn func(*DescribeActivationsOutput, bool) bool) error

DescribeActivationsPages iterates over the pages of a DescribeActivations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeActivations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeActivations operation. pageNum := 0 err := client.DescribeActivationsPages(params, func(page *DescribeActivationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeActivationsPagesWithContext

func (c *SSM) DescribeActivationsPagesWithContext(ctx aws.Context, input *DescribeActivationsInput, fn func(*DescribeActivationsOutput, bool) bool, opts ...request.Option) error

DescribeActivationsPagesWithContext same as DescribeActivationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeActivationsRequest

func (c *SSM) DescribeActivationsRequest(input *DescribeActivationsInput) (req *request.Request, output *DescribeActivationsOutput)

DescribeActivationsRequest generates a "aws/request.Request" representing the client's request for the DescribeActivations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeActivations for more information on using the DescribeActivations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeActivationsRequest method. req, resp := client.DescribeActivationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations

DescribeActivationsWithContext

func (c *SSM) DescribeActivationsWithContext(ctx aws.Context, input *DescribeActivationsInput, opts ...request.Option) (*DescribeActivationsOutput, error)

DescribeActivationsWithContext is the same as DescribeActivations with the addition of the ability to pass a context and additional request options.

See DescribeActivations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAssociation

func (c *SSM) DescribeAssociation(input *DescribeAssociationInput) (*DescribeAssociationOutput, error)

DescribeAssociation API operation for Amazon Simple Systems Manager (SSM).

Describes the association for the specified target or instance. If you created the association by using the Targets parameter, then you must retrieve the association by using the association ID. If you created the association by specifying an instance ID and a Systems Manager document, then you retrieve the association by specifying the document name and the instance ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeAssociation for usage and error information.

Returned Error Codes:

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

  • ErrCodeInvalidAssociationVersion "InvalidAssociationVersion" The version you specified is not valid. Use ListAssociationVersions to view all versions of an association according to the association ID. Or, use the

$LATEST parameter to view the latest version of the association.
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation

DescribeAssociationExecutionTargets

func (c *SSM) DescribeAssociationExecutionTargets(input *DescribeAssociationExecutionTargetsInput) (*DescribeAssociationExecutionTargetsOutput, error)

DescribeAssociationExecutionTargets API operation for Amazon Simple Systems Manager (SSM).

Use this API action to view information about a specific execution of a specific association.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeAssociationExecutionTargets for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeAssociationExecutionDoesNotExist "AssociationExecutionDoesNotExist" The specified execution ID does not exist. Verify the ID number and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutionTargets

DescribeAssociationExecutionTargetsRequest

func (c *SSM) DescribeAssociationExecutionTargetsRequest(input *DescribeAssociationExecutionTargetsInput) (req *request.Request, output *DescribeAssociationExecutionTargetsOutput)

DescribeAssociationExecutionTargetsRequest generates a "aws/request.Request" representing the client's request for the DescribeAssociationExecutionTargets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAssociationExecutionTargets for more information on using the DescribeAssociationExecutionTargets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAssociationExecutionTargetsRequest method. req, resp := client.DescribeAssociationExecutionTargetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutionTargets

DescribeAssociationExecutionTargetsWithContext

func (c *SSM) DescribeAssociationExecutionTargetsWithContext(ctx aws.Context, input *DescribeAssociationExecutionTargetsInput, opts ...request.Option) (*DescribeAssociationExecutionTargetsOutput, error)

DescribeAssociationExecutionTargetsWithContext is the same as DescribeAssociationExecutionTargets with the addition of the ability to pass a context and additional request options.

See DescribeAssociationExecutionTargets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAssociationExecutions

func (c *SSM) DescribeAssociationExecutions(input *DescribeAssociationExecutionsInput) (*DescribeAssociationExecutionsOutput, error)

DescribeAssociationExecutions API operation for Amazon Simple Systems Manager (SSM).

Use this API action to view all executions for a specific association ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeAssociationExecutions for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutions

DescribeAssociationExecutionsRequest

func (c *SSM) DescribeAssociationExecutionsRequest(input *DescribeAssociationExecutionsInput) (req *request.Request, output *DescribeAssociationExecutionsOutput)

DescribeAssociationExecutionsRequest generates a "aws/request.Request" representing the client's request for the DescribeAssociationExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAssociationExecutions for more information on using the DescribeAssociationExecutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAssociationExecutionsRequest method. req, resp := client.DescribeAssociationExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutions

DescribeAssociationExecutionsWithContext

func (c *SSM) DescribeAssociationExecutionsWithContext(ctx aws.Context, input *DescribeAssociationExecutionsInput, opts ...request.Option) (*DescribeAssociationExecutionsOutput, error)

DescribeAssociationExecutionsWithContext is the same as DescribeAssociationExecutions with the addition of the ability to pass a context and additional request options.

See DescribeAssociationExecutions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAssociationRequest

func (c *SSM) DescribeAssociationRequest(input *DescribeAssociationInput) (req *request.Request, output *DescribeAssociationOutput)

DescribeAssociationRequest generates a "aws/request.Request" representing the client's request for the DescribeAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAssociation for more information on using the DescribeAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAssociationRequest method. req, resp := client.DescribeAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation

DescribeAssociationWithContext

func (c *SSM) DescribeAssociationWithContext(ctx aws.Context, input *DescribeAssociationInput, opts ...request.Option) (*DescribeAssociationOutput, error)

DescribeAssociationWithContext is the same as DescribeAssociation with the addition of the ability to pass a context and additional request options.

See DescribeAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAutomationExecutions

func (c *SSM) DescribeAutomationExecutions(input *DescribeAutomationExecutionsInput) (*DescribeAutomationExecutionsOutput, error)

DescribeAutomationExecutions API operation for Amazon Simple Systems Manager (SSM).

Provides details about all active and terminated Automation executions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeAutomationExecutions for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidFilterValue "InvalidFilterValue" The filter value is not valid. Verify the value and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions

DescribeAutomationExecutionsRequest

func (c *SSM) DescribeAutomationExecutionsRequest(input *DescribeAutomationExecutionsInput) (req *request.Request, output *DescribeAutomationExecutionsOutput)

DescribeAutomationExecutionsRequest generates a "aws/request.Request" representing the client's request for the DescribeAutomationExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAutomationExecutions for more information on using the DescribeAutomationExecutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAutomationExecutionsRequest method. req, resp := client.DescribeAutomationExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions

DescribeAutomationExecutionsWithContext

func (c *SSM) DescribeAutomationExecutionsWithContext(ctx aws.Context, input *DescribeAutomationExecutionsInput, opts ...request.Option) (*DescribeAutomationExecutionsOutput, error)

DescribeAutomationExecutionsWithContext is the same as DescribeAutomationExecutions with the addition of the ability to pass a context and additional request options.

See DescribeAutomationExecutions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAutomationStepExecutions

func (c *SSM) DescribeAutomationStepExecutions(input *DescribeAutomationStepExecutionsInput) (*DescribeAutomationStepExecutionsOutput, error)

DescribeAutomationStepExecutions API operation for Amazon Simple Systems Manager (SSM).

Information about all active and terminated step executions in an Automation workflow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeAutomationStepExecutions for usage and error information.

Returned Error Codes:

  • ErrCodeAutomationExecutionNotFoundException "AutomationExecutionNotFoundException" There is no automation execution information for the requested automation execution ID.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidFilterValue "InvalidFilterValue" The filter value is not valid. Verify the value and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions

DescribeAutomationStepExecutionsRequest

func (c *SSM) DescribeAutomationStepExecutionsRequest(input *DescribeAutomationStepExecutionsInput) (req *request.Request, output *DescribeAutomationStepExecutionsOutput)

DescribeAutomationStepExecutionsRequest generates a "aws/request.Request" representing the client's request for the DescribeAutomationStepExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAutomationStepExecutions for more information on using the DescribeAutomationStepExecutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAutomationStepExecutionsRequest method. req, resp := client.DescribeAutomationStepExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions

DescribeAutomationStepExecutionsWithContext

func (c *SSM) DescribeAutomationStepExecutionsWithContext(ctx aws.Context, input *DescribeAutomationStepExecutionsInput, opts ...request.Option) (*DescribeAutomationStepExecutionsOutput, error)

DescribeAutomationStepExecutionsWithContext is the same as DescribeAutomationStepExecutions with the addition of the ability to pass a context and additional request options.

See DescribeAutomationStepExecutions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAvailablePatches

func (c *SSM) DescribeAvailablePatches(input *DescribeAvailablePatchesInput) (*DescribeAvailablePatchesOutput, error)

DescribeAvailablePatches API operation for Amazon Simple Systems Manager (SSM).

Lists all patches that could possibly be included in a patch baseline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeAvailablePatches for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches

DescribeAvailablePatchesRequest

func (c *SSM) DescribeAvailablePatchesRequest(input *DescribeAvailablePatchesInput) (req *request.Request, output *DescribeAvailablePatchesOutput)

DescribeAvailablePatchesRequest generates a "aws/request.Request" representing the client's request for the DescribeAvailablePatches operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAvailablePatches for more information on using the DescribeAvailablePatches API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAvailablePatchesRequest method. req, resp := client.DescribeAvailablePatchesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches

DescribeAvailablePatchesWithContext

func (c *SSM) DescribeAvailablePatchesWithContext(ctx aws.Context, input *DescribeAvailablePatchesInput, opts ...request.Option) (*DescribeAvailablePatchesOutput, error)

DescribeAvailablePatchesWithContext is the same as DescribeAvailablePatches with the addition of the ability to pass a context and additional request options.

See DescribeAvailablePatches for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDocument

func (c *SSM) DescribeDocument(input *DescribeDocumentInput) (*DescribeDocumentOutput, error)

DescribeDocument API operation for Amazon Simple Systems Manager (SSM).

Describes the specified Systems Manager document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeDocument for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument

DescribeDocumentPermission

func (c *SSM) DescribeDocumentPermission(input *DescribeDocumentPermissionInput) (*DescribeDocumentPermissionOutput, error)

DescribeDocumentPermission API operation for Amazon Simple Systems Manager (SSM).

Describes the permissions for a Systems Manager document. If you created the document, you are the owner. If a document is shared, it can either be shared privately (by specifying a user's AWS account ID) or publicly (All).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeDocumentPermission for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidPermissionType "InvalidPermissionType" The permission type is not supported. Share is the only supported permission type.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission

DescribeDocumentPermissionRequest

func (c *SSM) DescribeDocumentPermissionRequest(input *DescribeDocumentPermissionInput) (req *request.Request, output *DescribeDocumentPermissionOutput)

DescribeDocumentPermissionRequest generates a "aws/request.Request" representing the client's request for the DescribeDocumentPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDocumentPermission for more information on using the DescribeDocumentPermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDocumentPermissionRequest method. req, resp := client.DescribeDocumentPermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission

DescribeDocumentPermissionWithContext

func (c *SSM) DescribeDocumentPermissionWithContext(ctx aws.Context, input *DescribeDocumentPermissionInput, opts ...request.Option) (*DescribeDocumentPermissionOutput, error)

DescribeDocumentPermissionWithContext is the same as DescribeDocumentPermission with the addition of the ability to pass a context and additional request options.

See DescribeDocumentPermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDocumentRequest

func (c *SSM) DescribeDocumentRequest(input *DescribeDocumentInput) (req *request.Request, output *DescribeDocumentOutput)

DescribeDocumentRequest generates a "aws/request.Request" representing the client's request for the DescribeDocument operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDocument for more information on using the DescribeDocument API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDocumentRequest method. req, resp := client.DescribeDocumentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument

DescribeDocumentWithContext

func (c *SSM) DescribeDocumentWithContext(ctx aws.Context, input *DescribeDocumentInput, opts ...request.Option) (*DescribeDocumentOutput, error)

DescribeDocumentWithContext is the same as DescribeDocument with the addition of the ability to pass a context and additional request options.

See DescribeDocument for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEffectiveInstanceAssociations

func (c *SSM) DescribeEffectiveInstanceAssociations(input *DescribeEffectiveInstanceAssociationsInput) (*DescribeEffectiveInstanceAssociationsOutput, error)

DescribeEffectiveInstanceAssociations API operation for Amazon Simple Systems Manager (SSM).

All associations for the instance(s).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeEffectiveInstanceAssociations for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations

DescribeEffectiveInstanceAssociationsRequest

func (c *SSM) DescribeEffectiveInstanceAssociationsRequest(input *DescribeEffectiveInstanceAssociationsInput) (req *request.Request, output *DescribeEffectiveInstanceAssociationsOutput)

DescribeEffectiveInstanceAssociationsRequest generates a "aws/request.Request" representing the client's request for the DescribeEffectiveInstanceAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEffectiveInstanceAssociations for more information on using the DescribeEffectiveInstanceAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEffectiveInstanceAssociationsRequest method. req, resp := client.DescribeEffectiveInstanceAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations

DescribeEffectiveInstanceAssociationsWithContext

func (c *SSM) DescribeEffectiveInstanceAssociationsWithContext(ctx aws.Context, input *DescribeEffectiveInstanceAssociationsInput, opts ...request.Option) (*DescribeEffectiveInstanceAssociationsOutput, error)

DescribeEffectiveInstanceAssociationsWithContext is the same as DescribeEffectiveInstanceAssociations with the addition of the ability to pass a context and additional request options.

See DescribeEffectiveInstanceAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeEffectivePatchesForPatchBaseline

func (c *SSM) DescribeEffectivePatchesForPatchBaseline(input *DescribeEffectivePatchesForPatchBaselineInput) (*DescribeEffectivePatchesForPatchBaselineOutput, error)

DescribeEffectivePatchesForPatchBaseline API operation for Amazon Simple Systems Manager (SSM).

Retrieves the current effective patches (the patch and the approval state) for the specified patch baseline. Note that this API applies only to Windows patch baselines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeEffectivePatchesForPatchBaseline for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeUnsupportedOperatingSystem "UnsupportedOperatingSystem" The operating systems you specified is not supported, or the operation is not supported for the operating system. Valid operating systems include: Windows, AmazonLinux, RedhatEnterpriseLinux, and Ubuntu.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline

DescribeEffectivePatchesForPatchBaselineRequest

func (c *SSM) DescribeEffectivePatchesForPatchBaselineRequest(input *DescribeEffectivePatchesForPatchBaselineInput) (req *request.Request, output *DescribeEffectivePatchesForPatchBaselineOutput)

DescribeEffectivePatchesForPatchBaselineRequest generates a "aws/request.Request" representing the client's request for the DescribeEffectivePatchesForPatchBaseline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeEffectivePatchesForPatchBaseline for more information on using the DescribeEffectivePatchesForPatchBaseline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeEffectivePatchesForPatchBaselineRequest method. req, resp := client.DescribeEffectivePatchesForPatchBaselineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline

DescribeEffectivePatchesForPatchBaselineWithContext

func (c *SSM) DescribeEffectivePatchesForPatchBaselineWithContext(ctx aws.Context, input *DescribeEffectivePatchesForPatchBaselineInput, opts ...request.Option) (*DescribeEffectivePatchesForPatchBaselineOutput, error)

DescribeEffectivePatchesForPatchBaselineWithContext is the same as DescribeEffectivePatchesForPatchBaseline with the addition of the ability to pass a context and additional request options.

See DescribeEffectivePatchesForPatchBaseline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstanceAssociationsStatus

func (c *SSM) DescribeInstanceAssociationsStatus(input *DescribeInstanceAssociationsStatusInput) (*DescribeInstanceAssociationsStatusOutput, error)

DescribeInstanceAssociationsStatus API operation for Amazon Simple Systems Manager (SSM).

The status of the associations for the instance(s).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeInstanceAssociationsStatus for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus

DescribeInstanceAssociationsStatusRequest

func (c *SSM) DescribeInstanceAssociationsStatusRequest(input *DescribeInstanceAssociationsStatusInput) (req *request.Request, output *DescribeInstanceAssociationsStatusOutput)

DescribeInstanceAssociationsStatusRequest generates a "aws/request.Request" representing the client's request for the DescribeInstanceAssociationsStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInstanceAssociationsStatus for more information on using the DescribeInstanceAssociationsStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInstanceAssociationsStatusRequest method. req, resp := client.DescribeInstanceAssociationsStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus

DescribeInstanceAssociationsStatusWithContext

func (c *SSM) DescribeInstanceAssociationsStatusWithContext(ctx aws.Context, input *DescribeInstanceAssociationsStatusInput, opts ...request.Option) (*DescribeInstanceAssociationsStatusOutput, error)

DescribeInstanceAssociationsStatusWithContext is the same as DescribeInstanceAssociationsStatus with the addition of the ability to pass a context and additional request options.

See DescribeInstanceAssociationsStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstanceInformation

func (c *SSM) DescribeInstanceInformation(input *DescribeInstanceInformationInput) (*DescribeInstanceInformationOutput, error)

DescribeInstanceInformation API operation for Amazon Simple Systems Manager (SSM).

Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM Agent version (Linux), status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error.

The IamRole field for this API action is the Amazon Identity and Access Management (IAM) role assigned to on-premises instances. This call does not return the IAM role for Amazon EC2 instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeInstanceInformation for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInvalidInstanceInformationFilterValue "InvalidInstanceInformationFilterValue" The specified filter value is not valid.

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation

DescribeInstanceInformationPages

func (c *SSM) DescribeInstanceInformationPages(input *DescribeInstanceInformationInput, fn func(*DescribeInstanceInformationOutput, bool) bool) error

DescribeInstanceInformationPages iterates over the pages of a DescribeInstanceInformation operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeInstanceInformation method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeInstanceInformation operation. pageNum := 0 err := client.DescribeInstanceInformationPages(params, func(page *DescribeInstanceInformationOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstanceInformationPagesWithContext

func (c *SSM) DescribeInstanceInformationPagesWithContext(ctx aws.Context, input *DescribeInstanceInformationInput, fn func(*DescribeInstanceInformationOutput, bool) bool, opts ...request.Option) error

DescribeInstanceInformationPagesWithContext same as DescribeInstanceInformationPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstanceInformationRequest

func (c *SSM) DescribeInstanceInformationRequest(input *DescribeInstanceInformationInput) (req *request.Request, output *DescribeInstanceInformationOutput)

DescribeInstanceInformationRequest generates a "aws/request.Request" representing the client's request for the DescribeInstanceInformation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInstanceInformation for more information on using the DescribeInstanceInformation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInstanceInformationRequest method. req, resp := client.DescribeInstanceInformationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation

DescribeInstanceInformationWithContext

func (c *SSM) DescribeInstanceInformationWithContext(ctx aws.Context, input *DescribeInstanceInformationInput, opts ...request.Option) (*DescribeInstanceInformationOutput, error)

DescribeInstanceInformationWithContext is the same as DescribeInstanceInformation with the addition of the ability to pass a context and additional request options.

See DescribeInstanceInformation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstancePatchStates

func (c *SSM) DescribeInstancePatchStates(input *DescribeInstancePatchStatesInput) (*DescribeInstancePatchStatesOutput, error)

DescribeInstancePatchStates API operation for Amazon Simple Systems Manager (SSM).

Retrieves the high-level patch state of one or more instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeInstancePatchStates for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates

DescribeInstancePatchStatesForPatchGroup

func (c *SSM) DescribeInstancePatchStatesForPatchGroup(input *DescribeInstancePatchStatesForPatchGroupInput) (*DescribeInstancePatchStatesForPatchGroupOutput, error)

DescribeInstancePatchStatesForPatchGroup API operation for Amazon Simple Systems Manager (SSM).

Retrieves the high-level patch state for the instances in the specified patch group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeInstancePatchStatesForPatchGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup

DescribeInstancePatchStatesForPatchGroupRequest

func (c *SSM) DescribeInstancePatchStatesForPatchGroupRequest(input *DescribeInstancePatchStatesForPatchGroupInput) (req *request.Request, output *DescribeInstancePatchStatesForPatchGroupOutput)

DescribeInstancePatchStatesForPatchGroupRequest generates a "aws/request.Request" representing the client's request for the DescribeInstancePatchStatesForPatchGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInstancePatchStatesForPatchGroup for more information on using the DescribeInstancePatchStatesForPatchGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInstancePatchStatesForPatchGroupRequest method. req, resp := client.DescribeInstancePatchStatesForPatchGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup

DescribeInstancePatchStatesForPatchGroupWithContext

func (c *SSM) DescribeInstancePatchStatesForPatchGroupWithContext(ctx aws.Context, input *DescribeInstancePatchStatesForPatchGroupInput, opts ...request.Option) (*DescribeInstancePatchStatesForPatchGroupOutput, error)

DescribeInstancePatchStatesForPatchGroupWithContext is the same as DescribeInstancePatchStatesForPatchGroup with the addition of the ability to pass a context and additional request options.

See DescribeInstancePatchStatesForPatchGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstancePatchStatesRequest

func (c *SSM) DescribeInstancePatchStatesRequest(input *DescribeInstancePatchStatesInput) (req *request.Request, output *DescribeInstancePatchStatesOutput)

DescribeInstancePatchStatesRequest generates a "aws/request.Request" representing the client's request for the DescribeInstancePatchStates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInstancePatchStates for more information on using the DescribeInstancePatchStates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInstancePatchStatesRequest method. req, resp := client.DescribeInstancePatchStatesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates

DescribeInstancePatchStatesWithContext

func (c *SSM) DescribeInstancePatchStatesWithContext(ctx aws.Context, input *DescribeInstancePatchStatesInput, opts ...request.Option) (*DescribeInstancePatchStatesOutput, error)

DescribeInstancePatchStatesWithContext is the same as DescribeInstancePatchStates with the addition of the ability to pass a context and additional request options.

See DescribeInstancePatchStates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInstancePatches

func (c *SSM) DescribeInstancePatches(input *DescribeInstancePatchesInput) (*DescribeInstancePatchesOutput, error)

DescribeInstancePatches API operation for Amazon Simple Systems Manager (SSM).

Retrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeInstancePatches for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches

DescribeInstancePatchesRequest

func (c *SSM) DescribeInstancePatchesRequest(input *DescribeInstancePatchesInput) (req *request.Request, output *DescribeInstancePatchesOutput)

DescribeInstancePatchesRequest generates a "aws/request.Request" representing the client's request for the DescribeInstancePatches operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInstancePatches for more information on using the DescribeInstancePatches API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInstancePatchesRequest method. req, resp := client.DescribeInstancePatchesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches

DescribeInstancePatchesWithContext

func (c *SSM) DescribeInstancePatchesWithContext(ctx aws.Context, input *DescribeInstancePatchesInput, opts ...request.Option) (*DescribeInstancePatchesOutput, error)

DescribeInstancePatchesWithContext is the same as DescribeInstancePatches with the addition of the ability to pass a context and additional request options.

See DescribeInstancePatches for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInventoryDeletions

func (c *SSM) DescribeInventoryDeletions(input *DescribeInventoryDeletionsInput) (*DescribeInventoryDeletionsOutput, error)

DescribeInventoryDeletions API operation for Amazon Simple Systems Manager (SSM).

Describes a specific delete inventory operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeInventoryDeletions for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDeletionIdException "InvalidDeletionIdException" The ID specified for the delete operation does not exist or is not valide. Verify the ID and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletions

DescribeInventoryDeletionsRequest

func (c *SSM) DescribeInventoryDeletionsRequest(input *DescribeInventoryDeletionsInput) (req *request.Request, output *DescribeInventoryDeletionsOutput)

DescribeInventoryDeletionsRequest generates a "aws/request.Request" representing the client's request for the DescribeInventoryDeletions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInventoryDeletions for more information on using the DescribeInventoryDeletions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInventoryDeletionsRequest method. req, resp := client.DescribeInventoryDeletionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletions

DescribeInventoryDeletionsWithContext

func (c *SSM) DescribeInventoryDeletionsWithContext(ctx aws.Context, input *DescribeInventoryDeletionsInput, opts ...request.Option) (*DescribeInventoryDeletionsOutput, error)

DescribeInventoryDeletionsWithContext is the same as DescribeInventoryDeletions with the addition of the ability to pass a context and additional request options.

See DescribeInventoryDeletions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowExecutionTaskInvocations

func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocations(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput) (*DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error)

DescribeMaintenanceWindowExecutionTaskInvocations API operation for Amazon Simple Systems Manager (SSM).

Retrieves the individual task executions (one per target) for a particular task executed as part of a Maintenance Window execution.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowExecutionTaskInvocations for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations

DescribeMaintenanceWindowExecutionTaskInvocationsRequest

func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionTaskInvocationsOutput)

DescribeMaintenanceWindowExecutionTaskInvocationsRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowExecutionTaskInvocations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowExecutionTaskInvocations for more information on using the DescribeMaintenanceWindowExecutionTaskInvocations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowExecutionTaskInvocationsRequest method. req, resp := client.DescribeMaintenanceWindowExecutionTaskInvocationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations

DescribeMaintenanceWindowExecutionTaskInvocationsWithContext

func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsWithContext(ctx aws.Context, input *DescribeMaintenanceWindowExecutionTaskInvocationsInput, opts ...request.Option) (*DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error)

DescribeMaintenanceWindowExecutionTaskInvocationsWithContext is the same as DescribeMaintenanceWindowExecutionTaskInvocations with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowExecutionTaskInvocations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowExecutionTasks

func (c *SSM) DescribeMaintenanceWindowExecutionTasks(input *DescribeMaintenanceWindowExecutionTasksInput) (*DescribeMaintenanceWindowExecutionTasksOutput, error)

DescribeMaintenanceWindowExecutionTasks API operation for Amazon Simple Systems Manager (SSM).

For a given Maintenance Window execution, lists the tasks that were executed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowExecutionTasks for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks

DescribeMaintenanceWindowExecutionTasksRequest

func (c *SSM) DescribeMaintenanceWindowExecutionTasksRequest(input *DescribeMaintenanceWindowExecutionTasksInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionTasksOutput)

DescribeMaintenanceWindowExecutionTasksRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowExecutionTasks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowExecutionTasks for more information on using the DescribeMaintenanceWindowExecutionTasks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowExecutionTasksRequest method. req, resp := client.DescribeMaintenanceWindowExecutionTasksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks

DescribeMaintenanceWindowExecutionTasksWithContext

func (c *SSM) DescribeMaintenanceWindowExecutionTasksWithContext(ctx aws.Context, input *DescribeMaintenanceWindowExecutionTasksInput, opts ...request.Option) (*DescribeMaintenanceWindowExecutionTasksOutput, error)

DescribeMaintenanceWindowExecutionTasksWithContext is the same as DescribeMaintenanceWindowExecutionTasks with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowExecutionTasks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowExecutions

func (c *SSM) DescribeMaintenanceWindowExecutions(input *DescribeMaintenanceWindowExecutionsInput) (*DescribeMaintenanceWindowExecutionsOutput, error)

DescribeMaintenanceWindowExecutions API operation for Amazon Simple Systems Manager (SSM).

Lists the executions of a Maintenance Window. This includes information about when the Maintenance Window was scheduled to be active, and information about tasks registered and run with the Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowExecutions for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions

DescribeMaintenanceWindowExecutionsRequest

func (c *SSM) DescribeMaintenanceWindowExecutionsRequest(input *DescribeMaintenanceWindowExecutionsInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionsOutput)

DescribeMaintenanceWindowExecutionsRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowExecutions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowExecutions for more information on using the DescribeMaintenanceWindowExecutions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowExecutionsRequest method. req, resp := client.DescribeMaintenanceWindowExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions

DescribeMaintenanceWindowExecutionsWithContext

func (c *SSM) DescribeMaintenanceWindowExecutionsWithContext(ctx aws.Context, input *DescribeMaintenanceWindowExecutionsInput, opts ...request.Option) (*DescribeMaintenanceWindowExecutionsOutput, error)

DescribeMaintenanceWindowExecutionsWithContext is the same as DescribeMaintenanceWindowExecutions with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowExecutions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowSchedule

func (c *SSM) DescribeMaintenanceWindowSchedule(input *DescribeMaintenanceWindowScheduleInput) (*DescribeMaintenanceWindowScheduleOutput, error)

DescribeMaintenanceWindowSchedule API operation for Amazon Simple Systems Manager (SSM).

Retrieves information about upcoming executions of a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowSchedule for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowSchedule

DescribeMaintenanceWindowScheduleRequest

func (c *SSM) DescribeMaintenanceWindowScheduleRequest(input *DescribeMaintenanceWindowScheduleInput) (req *request.Request, output *DescribeMaintenanceWindowScheduleOutput)

DescribeMaintenanceWindowScheduleRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowSchedule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowSchedule for more information on using the DescribeMaintenanceWindowSchedule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowScheduleRequest method. req, resp := client.DescribeMaintenanceWindowScheduleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowSchedule

DescribeMaintenanceWindowScheduleWithContext

func (c *SSM) DescribeMaintenanceWindowScheduleWithContext(ctx aws.Context, input *DescribeMaintenanceWindowScheduleInput, opts ...request.Option) (*DescribeMaintenanceWindowScheduleOutput, error)

DescribeMaintenanceWindowScheduleWithContext is the same as DescribeMaintenanceWindowSchedule with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowSchedule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowTargets

func (c *SSM) DescribeMaintenanceWindowTargets(input *DescribeMaintenanceWindowTargetsInput) (*DescribeMaintenanceWindowTargetsOutput, error)

DescribeMaintenanceWindowTargets API operation for Amazon Simple Systems Manager (SSM).

Lists the targets registered with the Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowTargets for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets

DescribeMaintenanceWindowTargetsRequest

func (c *SSM) DescribeMaintenanceWindowTargetsRequest(input *DescribeMaintenanceWindowTargetsInput) (req *request.Request, output *DescribeMaintenanceWindowTargetsOutput)

DescribeMaintenanceWindowTargetsRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowTargets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowTargets for more information on using the DescribeMaintenanceWindowTargets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowTargetsRequest method. req, resp := client.DescribeMaintenanceWindowTargetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets

DescribeMaintenanceWindowTargetsWithContext

func (c *SSM) DescribeMaintenanceWindowTargetsWithContext(ctx aws.Context, input *DescribeMaintenanceWindowTargetsInput, opts ...request.Option) (*DescribeMaintenanceWindowTargetsOutput, error)

DescribeMaintenanceWindowTargetsWithContext is the same as DescribeMaintenanceWindowTargets with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowTargets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowTasks

func (c *SSM) DescribeMaintenanceWindowTasks(input *DescribeMaintenanceWindowTasksInput) (*DescribeMaintenanceWindowTasksOutput, error)

DescribeMaintenanceWindowTasks API operation for Amazon Simple Systems Manager (SSM).

Lists the tasks in a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowTasks for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks

DescribeMaintenanceWindowTasksRequest

func (c *SSM) DescribeMaintenanceWindowTasksRequest(input *DescribeMaintenanceWindowTasksInput) (req *request.Request, output *DescribeMaintenanceWindowTasksOutput)

DescribeMaintenanceWindowTasksRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowTasks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowTasks for more information on using the DescribeMaintenanceWindowTasks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowTasksRequest method. req, resp := client.DescribeMaintenanceWindowTasksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks

DescribeMaintenanceWindowTasksWithContext

func (c *SSM) DescribeMaintenanceWindowTasksWithContext(ctx aws.Context, input *DescribeMaintenanceWindowTasksInput, opts ...request.Option) (*DescribeMaintenanceWindowTasksOutput, error)

DescribeMaintenanceWindowTasksWithContext is the same as DescribeMaintenanceWindowTasks with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowTasks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindows

func (c *SSM) DescribeMaintenanceWindows(input *DescribeMaintenanceWindowsInput) (*DescribeMaintenanceWindowsOutput, error)

DescribeMaintenanceWindows API operation for Amazon Simple Systems Manager (SSM).

Retrieves the Maintenance Windows in an AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindows for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows

DescribeMaintenanceWindowsForTarget

func (c *SSM) DescribeMaintenanceWindowsForTarget(input *DescribeMaintenanceWindowsForTargetInput) (*DescribeMaintenanceWindowsForTargetOutput, error)

DescribeMaintenanceWindowsForTarget API operation for Amazon Simple Systems Manager (SSM).

Retrieves information about the Maintenance Windows targets or tasks that an instance is associated with.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeMaintenanceWindowsForTarget for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTarget

DescribeMaintenanceWindowsForTargetRequest

func (c *SSM) DescribeMaintenanceWindowsForTargetRequest(input *DescribeMaintenanceWindowsForTargetInput) (req *request.Request, output *DescribeMaintenanceWindowsForTargetOutput)

DescribeMaintenanceWindowsForTargetRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindowsForTarget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindowsForTarget for more information on using the DescribeMaintenanceWindowsForTarget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowsForTargetRequest method. req, resp := client.DescribeMaintenanceWindowsForTargetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTarget

DescribeMaintenanceWindowsForTargetWithContext

func (c *SSM) DescribeMaintenanceWindowsForTargetWithContext(ctx aws.Context, input *DescribeMaintenanceWindowsForTargetInput, opts ...request.Option) (*DescribeMaintenanceWindowsForTargetOutput, error)

DescribeMaintenanceWindowsForTargetWithContext is the same as DescribeMaintenanceWindowsForTarget with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindowsForTarget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeMaintenanceWindowsRequest

func (c *SSM) DescribeMaintenanceWindowsRequest(input *DescribeMaintenanceWindowsInput) (req *request.Request, output *DescribeMaintenanceWindowsOutput)

DescribeMaintenanceWindowsRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceWindows operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMaintenanceWindows for more information on using the DescribeMaintenanceWindows API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMaintenanceWindowsRequest method. req, resp := client.DescribeMaintenanceWindowsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows

DescribeMaintenanceWindowsWithContext

func (c *SSM) DescribeMaintenanceWindowsWithContext(ctx aws.Context, input *DescribeMaintenanceWindowsInput, opts ...request.Option) (*DescribeMaintenanceWindowsOutput, error)

DescribeMaintenanceWindowsWithContext is the same as DescribeMaintenanceWindows with the addition of the ability to pass a context and additional request options.

See DescribeMaintenanceWindows for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeParameters

func (c *SSM) DescribeParameters(input *DescribeParametersInput) (*DescribeParametersOutput, error)

DescribeParameters API operation for Amazon Simple Systems Manager (SSM).

Get information about a parameter.

Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeParameters for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidFilterOption "InvalidFilterOption" The specified filter option is not valid. Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.

  • ErrCodeInvalidFilterValue "InvalidFilterValue" The filter value is not valid. Verify the value and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters

DescribeParametersPages

func (c *SSM) DescribeParametersPages(input *DescribeParametersInput, fn func(*DescribeParametersOutput, bool) bool) error

DescribeParametersPages iterates over the pages of a DescribeParameters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeParameters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeParameters operation. pageNum := 0 err := client.DescribeParametersPages(params, func(page *DescribeParametersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeParametersPagesWithContext

func (c *SSM) DescribeParametersPagesWithContext(ctx aws.Context, input *DescribeParametersInput, fn func(*DescribeParametersOutput, bool) bool, opts ...request.Option) error

DescribeParametersPagesWithContext same as DescribeParametersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeParametersRequest

func (c *SSM) DescribeParametersRequest(input *DescribeParametersInput) (req *request.Request, output *DescribeParametersOutput)

DescribeParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeParameters for more information on using the DescribeParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeParametersRequest method. req, resp := client.DescribeParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters

DescribeParametersWithContext

func (c *SSM) DescribeParametersWithContext(ctx aws.Context, input *DescribeParametersInput, opts ...request.Option) (*DescribeParametersOutput, error)

DescribeParametersWithContext is the same as DescribeParameters with the addition of the ability to pass a context and additional request options.

See DescribeParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribePatchBaselines

func (c *SSM) DescribePatchBaselines(input *DescribePatchBaselinesInput) (*DescribePatchBaselinesOutput, error)

DescribePatchBaselines API operation for Amazon Simple Systems Manager (SSM).

Lists the patch baselines in your AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribePatchBaselines for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines

DescribePatchBaselinesRequest

func (c *SSM) DescribePatchBaselinesRequest(input *DescribePatchBaselinesInput) (req *request.Request, output *DescribePatchBaselinesOutput)

DescribePatchBaselinesRequest generates a "aws/request.Request" representing the client's request for the DescribePatchBaselines operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePatchBaselines for more information on using the DescribePatchBaselines API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePatchBaselinesRequest method. req, resp := client.DescribePatchBaselinesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines

DescribePatchBaselinesWithContext

func (c *SSM) DescribePatchBaselinesWithContext(ctx aws.Context, input *DescribePatchBaselinesInput, opts ...request.Option) (*DescribePatchBaselinesOutput, error)

DescribePatchBaselinesWithContext is the same as DescribePatchBaselines with the addition of the ability to pass a context and additional request options.

See DescribePatchBaselines for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribePatchGroupState

func (c *SSM) DescribePatchGroupState(input *DescribePatchGroupStateInput) (*DescribePatchGroupStateOutput, error)

DescribePatchGroupState API operation for Amazon Simple Systems Manager (SSM).

Returns high-level aggregated patch compliance state for a patch group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribePatchGroupState for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState

DescribePatchGroupStateRequest

func (c *SSM) DescribePatchGroupStateRequest(input *DescribePatchGroupStateInput) (req *request.Request, output *DescribePatchGroupStateOutput)

DescribePatchGroupStateRequest generates a "aws/request.Request" representing the client's request for the DescribePatchGroupState operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePatchGroupState for more information on using the DescribePatchGroupState API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePatchGroupStateRequest method. req, resp := client.DescribePatchGroupStateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState

DescribePatchGroupStateWithContext

func (c *SSM) DescribePatchGroupStateWithContext(ctx aws.Context, input *DescribePatchGroupStateInput, opts ...request.Option) (*DescribePatchGroupStateOutput, error)

DescribePatchGroupStateWithContext is the same as DescribePatchGroupState with the addition of the ability to pass a context and additional request options.

See DescribePatchGroupState for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribePatchGroups

func (c *SSM) DescribePatchGroups(input *DescribePatchGroupsInput) (*DescribePatchGroupsOutput, error)

DescribePatchGroups API operation for Amazon Simple Systems Manager (SSM).

Lists all patch groups that have been registered with patch baselines.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribePatchGroups for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups

DescribePatchGroupsRequest

func (c *SSM) DescribePatchGroupsRequest(input *DescribePatchGroupsInput) (req *request.Request, output *DescribePatchGroupsOutput)

DescribePatchGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribePatchGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePatchGroups for more information on using the DescribePatchGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePatchGroupsRequest method. req, resp := client.DescribePatchGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups

DescribePatchGroupsWithContext

func (c *SSM) DescribePatchGroupsWithContext(ctx aws.Context, input *DescribePatchGroupsInput, opts ...request.Option) (*DescribePatchGroupsOutput, error)

DescribePatchGroupsWithContext is the same as DescribePatchGroups with the addition of the ability to pass a context and additional request options.

See DescribePatchGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeSessions

func (c *SSM) DescribeSessions(input *DescribeSessionsInput) (*DescribeSessionsOutput, error)

DescribeSessions API operation for Amazon Simple Systems Manager (SSM).

Retrieves a list of all active sessions (both connected and disconnected) or terminated sessions from the past 30 days.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation DescribeSessions for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessions

DescribeSessionsRequest

func (c *SSM) DescribeSessionsRequest(input *DescribeSessionsInput) (req *request.Request, output *DescribeSessionsOutput)

DescribeSessionsRequest generates a "aws/request.Request" representing the client's request for the DescribeSessions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSessions for more information on using the DescribeSessions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSessionsRequest method. req, resp := client.DescribeSessionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessions

DescribeSessionsWithContext

func (c *SSM) DescribeSessionsWithContext(ctx aws.Context, input *DescribeSessionsInput, opts ...request.Option) (*DescribeSessionsOutput, error)

DescribeSessionsWithContext is the same as DescribeSessions with the addition of the ability to pass a context and additional request options.

See DescribeSessions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAutomationExecution

func (c *SSM) GetAutomationExecution(input *GetAutomationExecutionInput) (*GetAutomationExecutionOutput, error)

GetAutomationExecution API operation for Amazon Simple Systems Manager (SSM).

Get detailed information about a particular Automation execution.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetAutomationExecution for usage and error information.

Returned Error Codes:

  • ErrCodeAutomationExecutionNotFoundException "AutomationExecutionNotFoundException" There is no automation execution information for the requested automation execution ID.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution

GetAutomationExecutionRequest

func (c *SSM) GetAutomationExecutionRequest(input *GetAutomationExecutionInput) (req *request.Request, output *GetAutomationExecutionOutput)

GetAutomationExecutionRequest generates a "aws/request.Request" representing the client's request for the GetAutomationExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAutomationExecution for more information on using the GetAutomationExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAutomationExecutionRequest method. req, resp := client.GetAutomationExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution

GetAutomationExecutionWithContext

func (c *SSM) GetAutomationExecutionWithContext(ctx aws.Context, input *GetAutomationExecutionInput, opts ...request.Option) (*GetAutomationExecutionOutput, error)

GetAutomationExecutionWithContext is the same as GetAutomationExecution with the addition of the ability to pass a context and additional request options.

See GetAutomationExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetCommandInvocation

func (c *SSM) GetCommandInvocation(input *GetCommandInvocationInput) (*GetCommandInvocationOutput, error)

GetCommandInvocation API operation for Amazon Simple Systems Manager (SSM).

Returns detailed information about command execution for an invocation or plugin.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetCommandInvocation for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidCommandId "InvalidCommandId"

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidPluginName "InvalidPluginName" The plugin name is not valid.

  • ErrCodeInvocationDoesNotExist "InvocationDoesNotExist" The command ID and instance ID you specified did not match any invocations. Verify the command ID adn the instance ID and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation

GetCommandInvocationRequest

func (c *SSM) GetCommandInvocationRequest(input *GetCommandInvocationInput) (req *request.Request, output *GetCommandInvocationOutput)

GetCommandInvocationRequest generates a "aws/request.Request" representing the client's request for the GetCommandInvocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetCommandInvocation for more information on using the GetCommandInvocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetCommandInvocationRequest method. req, resp := client.GetCommandInvocationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation

GetCommandInvocationWithContext

func (c *SSM) GetCommandInvocationWithContext(ctx aws.Context, input *GetCommandInvocationInput, opts ...request.Option) (*GetCommandInvocationOutput, error)

GetCommandInvocationWithContext is the same as GetCommandInvocation with the addition of the ability to pass a context and additional request options.

See GetCommandInvocation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetConnectionStatus

func (c *SSM) GetConnectionStatus(input *GetConnectionStatusInput) (*GetConnectionStatusOutput, error)

GetConnectionStatus API operation for Amazon Simple Systems Manager (SSM).

Retrieves the Session Manager connection status for an instance to determine whether it is connected and ready to receive Session Manager connections.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetConnectionStatus for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatus

GetConnectionStatusRequest

func (c *SSM) GetConnectionStatusRequest(input *GetConnectionStatusInput) (req *request.Request, output *GetConnectionStatusOutput)

GetConnectionStatusRequest generates a "aws/request.Request" representing the client's request for the GetConnectionStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetConnectionStatus for more information on using the GetConnectionStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetConnectionStatusRequest method. req, resp := client.GetConnectionStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatus

GetConnectionStatusWithContext

func (c *SSM) GetConnectionStatusWithContext(ctx aws.Context, input *GetConnectionStatusInput, opts ...request.Option) (*GetConnectionStatusOutput, error)

GetConnectionStatusWithContext is the same as GetConnectionStatus with the addition of the ability to pass a context and additional request options.

See GetConnectionStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDefaultPatchBaseline

func (c *SSM) GetDefaultPatchBaseline(input *GetDefaultPatchBaselineInput) (*GetDefaultPatchBaselineOutput, error)

GetDefaultPatchBaseline API operation for Amazon Simple Systems Manager (SSM).

Retrieves the default patch baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.

If you do not specify an operating system value, the default patch baseline for Windows is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetDefaultPatchBaseline for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline

GetDefaultPatchBaselineRequest

func (c *SSM) GetDefaultPatchBaselineRequest(input *GetDefaultPatchBaselineInput) (req *request.Request, output *GetDefaultPatchBaselineOutput)

GetDefaultPatchBaselineRequest generates a "aws/request.Request" representing the client's request for the GetDefaultPatchBaseline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDefaultPatchBaseline for more information on using the GetDefaultPatchBaseline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDefaultPatchBaselineRequest method. req, resp := client.GetDefaultPatchBaselineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline

GetDefaultPatchBaselineWithContext

func (c *SSM) GetDefaultPatchBaselineWithContext(ctx aws.Context, input *GetDefaultPatchBaselineInput, opts ...request.Option) (*GetDefaultPatchBaselineOutput, error)

GetDefaultPatchBaselineWithContext is the same as GetDefaultPatchBaseline with the addition of the ability to pass a context and additional request options.

See GetDefaultPatchBaseline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDeployablePatchSnapshotForInstance

func (c *SSM) GetDeployablePatchSnapshotForInstance(input *GetDeployablePatchSnapshotForInstanceInput) (*GetDeployablePatchSnapshotForInstanceOutput, error)

GetDeployablePatchSnapshotForInstance API operation for Amazon Simple Systems Manager (SSM).

Retrieves the current snapshot for the patch baseline the instance uses. This API is primarily used by the AWS-RunPatchBaseline Systems Manager document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetDeployablePatchSnapshotForInstance for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeUnsupportedOperatingSystem "UnsupportedOperatingSystem" The operating systems you specified is not supported, or the operation is not supported for the operating system. Valid operating systems include: Windows, AmazonLinux, RedhatEnterpriseLinux, and Ubuntu.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance

GetDeployablePatchSnapshotForInstanceRequest

func (c *SSM) GetDeployablePatchSnapshotForInstanceRequest(input *GetDeployablePatchSnapshotForInstanceInput) (req *request.Request, output *GetDeployablePatchSnapshotForInstanceOutput)

GetDeployablePatchSnapshotForInstanceRequest generates a "aws/request.Request" representing the client's request for the GetDeployablePatchSnapshotForInstance operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDeployablePatchSnapshotForInstance for more information on using the GetDeployablePatchSnapshotForInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDeployablePatchSnapshotForInstanceRequest method. req, resp := client.GetDeployablePatchSnapshotForInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance

GetDeployablePatchSnapshotForInstanceWithContext

func (c *SSM) GetDeployablePatchSnapshotForInstanceWithContext(ctx aws.Context, input *GetDeployablePatchSnapshotForInstanceInput, opts ...request.Option) (*GetDeployablePatchSnapshotForInstanceOutput, error)

GetDeployablePatchSnapshotForInstanceWithContext is the same as GetDeployablePatchSnapshotForInstance with the addition of the ability to pass a context and additional request options.

See GetDeployablePatchSnapshotForInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetDocument

func (c *SSM) GetDocument(input *GetDocumentInput) (*GetDocumentOutput, error)

GetDocument API operation for Amazon Simple Systems Manager (SSM).

Gets the contents of the specified Systems Manager document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetDocument for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument

GetDocumentRequest

func (c *SSM) GetDocumentRequest(input *GetDocumentInput) (req *request.Request, output *GetDocumentOutput)

GetDocumentRequest generates a "aws/request.Request" representing the client's request for the GetDocument operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDocument for more information on using the GetDocument API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDocumentRequest method. req, resp := client.GetDocumentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument

GetDocumentWithContext

func (c *SSM) GetDocumentWithContext(ctx aws.Context, input *GetDocumentInput, opts ...request.Option) (*GetDocumentOutput, error)

GetDocumentWithContext is the same as GetDocument with the addition of the ability to pass a context and additional request options.

See GetDocument for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetInventory

func (c *SSM) GetInventory(input *GetInventoryInput) (*GetInventoryOutput, error)

GetInventory API operation for Amazon Simple Systems Manager (SSM).

Query inventory information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetInventory for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidInventoryGroupException "InvalidInventoryGroupException" The specified inventory group is not valid.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInvalidTypeNameException "InvalidTypeNameException" The parameter type name is not valid.

  • ErrCodeInvalidAggregatorException "InvalidAggregatorException" The specified aggregator is not valid for inventory groups. Verify that the aggregator uses a valid inventory type such as AWS:Application or AWS:InstanceInformation.

  • ErrCodeInvalidResultAttributeException "InvalidResultAttributeException" The specified inventory item result attribute is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory

GetInventoryRequest

func (c *SSM) GetInventoryRequest(input *GetInventoryInput) (req *request.Request, output *GetInventoryOutput)

GetInventoryRequest generates a "aws/request.Request" representing the client's request for the GetInventory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInventory for more information on using the GetInventory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInventoryRequest method. req, resp := client.GetInventoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory

GetInventorySchema

func (c *SSM) GetInventorySchema(input *GetInventorySchemaInput) (*GetInventorySchemaOutput, error)

GetInventorySchema API operation for Amazon Simple Systems Manager (SSM).

Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetInventorySchema for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidTypeNameException "InvalidTypeNameException" The parameter type name is not valid.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema

GetInventorySchemaRequest

func (c *SSM) GetInventorySchemaRequest(input *GetInventorySchemaInput) (req *request.Request, output *GetInventorySchemaOutput)

GetInventorySchemaRequest generates a "aws/request.Request" representing the client's request for the GetInventorySchema operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInventorySchema for more information on using the GetInventorySchema API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInventorySchemaRequest method. req, resp := client.GetInventorySchemaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema

GetInventorySchemaWithContext

func (c *SSM) GetInventorySchemaWithContext(ctx aws.Context, input *GetInventorySchemaInput, opts ...request.Option) (*GetInventorySchemaOutput, error)

GetInventorySchemaWithContext is the same as GetInventorySchema with the addition of the ability to pass a context and additional request options.

See GetInventorySchema for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetInventoryWithContext

func (c *SSM) GetInventoryWithContext(ctx aws.Context, input *GetInventoryInput, opts ...request.Option) (*GetInventoryOutput, error)

GetInventoryWithContext is the same as GetInventory with the addition of the ability to pass a context and additional request options.

See GetInventory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMaintenanceWindow

func (c *SSM) GetMaintenanceWindow(input *GetMaintenanceWindowInput) (*GetMaintenanceWindowOutput, error)

GetMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Retrieves a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow

GetMaintenanceWindowExecution

func (c *SSM) GetMaintenanceWindowExecution(input *GetMaintenanceWindowExecutionInput) (*GetMaintenanceWindowExecutionOutput, error)

GetMaintenanceWindowExecution API operation for Amazon Simple Systems Manager (SSM).

Retrieves details about a specific task executed as part of a Maintenance Window execution.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetMaintenanceWindowExecution for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution

GetMaintenanceWindowExecutionRequest

func (c *SSM) GetMaintenanceWindowExecutionRequest(input *GetMaintenanceWindowExecutionInput) (req *request.Request, output *GetMaintenanceWindowExecutionOutput)

GetMaintenanceWindowExecutionRequest generates a "aws/request.Request" representing the client's request for the GetMaintenanceWindowExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMaintenanceWindowExecution for more information on using the GetMaintenanceWindowExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMaintenanceWindowExecutionRequest method. req, resp := client.GetMaintenanceWindowExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution

GetMaintenanceWindowExecutionTask

func (c *SSM) GetMaintenanceWindowExecutionTask(input *GetMaintenanceWindowExecutionTaskInput) (*GetMaintenanceWindowExecutionTaskOutput, error)

GetMaintenanceWindowExecutionTask API operation for Amazon Simple Systems Manager (SSM).

Retrieves the details about a specific task executed as part of a Maintenance Window execution.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetMaintenanceWindowExecutionTask for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask

GetMaintenanceWindowExecutionTaskInvocation

func (c *SSM) GetMaintenanceWindowExecutionTaskInvocation(input *GetMaintenanceWindowExecutionTaskInvocationInput) (*GetMaintenanceWindowExecutionTaskInvocationOutput, error)

GetMaintenanceWindowExecutionTaskInvocation API operation for Amazon Simple Systems Manager (SSM).

Retrieves a task invocation. A task invocation is a specific task executing on a specific target. Maintenance Windows report status for all invocations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetMaintenanceWindowExecutionTaskInvocation for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation

GetMaintenanceWindowExecutionTaskInvocationRequest

func (c *SSM) GetMaintenanceWindowExecutionTaskInvocationRequest(input *GetMaintenanceWindowExecutionTaskInvocationInput) (req *request.Request, output *GetMaintenanceWindowExecutionTaskInvocationOutput)

GetMaintenanceWindowExecutionTaskInvocationRequest generates a "aws/request.Request" representing the client's request for the GetMaintenanceWindowExecutionTaskInvocation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMaintenanceWindowExecutionTaskInvocation for more information on using the GetMaintenanceWindowExecutionTaskInvocation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMaintenanceWindowExecutionTaskInvocationRequest method. req, resp := client.GetMaintenanceWindowExecutionTaskInvocationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation

GetMaintenanceWindowExecutionTaskInvocationWithContext

func (c *SSM) GetMaintenanceWindowExecutionTaskInvocationWithContext(ctx aws.Context, input *GetMaintenanceWindowExecutionTaskInvocationInput, opts ...request.Option) (*GetMaintenanceWindowExecutionTaskInvocationOutput, error)

GetMaintenanceWindowExecutionTaskInvocationWithContext is the same as GetMaintenanceWindowExecutionTaskInvocation with the addition of the ability to pass a context and additional request options.

See GetMaintenanceWindowExecutionTaskInvocation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMaintenanceWindowExecutionTaskRequest

func (c *SSM) GetMaintenanceWindowExecutionTaskRequest(input *GetMaintenanceWindowExecutionTaskInput) (req *request.Request, output *GetMaintenanceWindowExecutionTaskOutput)

GetMaintenanceWindowExecutionTaskRequest generates a "aws/request.Request" representing the client's request for the GetMaintenanceWindowExecutionTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMaintenanceWindowExecutionTask for more information on using the GetMaintenanceWindowExecutionTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMaintenanceWindowExecutionTaskRequest method. req, resp := client.GetMaintenanceWindowExecutionTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask

GetMaintenanceWindowExecutionTaskWithContext

func (c *SSM) GetMaintenanceWindowExecutionTaskWithContext(ctx aws.Context, input *GetMaintenanceWindowExecutionTaskInput, opts ...request.Option) (*GetMaintenanceWindowExecutionTaskOutput, error)

GetMaintenanceWindowExecutionTaskWithContext is the same as GetMaintenanceWindowExecutionTask with the addition of the ability to pass a context and additional request options.

See GetMaintenanceWindowExecutionTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMaintenanceWindowExecutionWithContext

func (c *SSM) GetMaintenanceWindowExecutionWithContext(ctx aws.Context, input *GetMaintenanceWindowExecutionInput, opts ...request.Option) (*GetMaintenanceWindowExecutionOutput, error)

GetMaintenanceWindowExecutionWithContext is the same as GetMaintenanceWindowExecution with the addition of the ability to pass a context and additional request options.

See GetMaintenanceWindowExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMaintenanceWindowRequest

func (c *SSM) GetMaintenanceWindowRequest(input *GetMaintenanceWindowInput) (req *request.Request, output *GetMaintenanceWindowOutput)

GetMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the GetMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMaintenanceWindow for more information on using the GetMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMaintenanceWindowRequest method. req, resp := client.GetMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow

GetMaintenanceWindowTask

func (c *SSM) GetMaintenanceWindowTask(input *GetMaintenanceWindowTaskInput) (*GetMaintenanceWindowTaskOutput, error)

GetMaintenanceWindowTask API operation for Amazon Simple Systems Manager (SSM).

Lists the tasks in a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetMaintenanceWindowTask for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask

GetMaintenanceWindowTaskRequest

func (c *SSM) GetMaintenanceWindowTaskRequest(input *GetMaintenanceWindowTaskInput) (req *request.Request, output *GetMaintenanceWindowTaskOutput)

GetMaintenanceWindowTaskRequest generates a "aws/request.Request" representing the client's request for the GetMaintenanceWindowTask operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMaintenanceWindowTask for more information on using the GetMaintenanceWindowTask API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMaintenanceWindowTaskRequest method. req, resp := client.GetMaintenanceWindowTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask

GetMaintenanceWindowTaskWithContext

func (c *SSM) GetMaintenanceWindowTaskWithContext(ctx aws.Context, input *GetMaintenanceWindowTaskInput, opts ...request.Option) (*GetMaintenanceWindowTaskOutput, error)

GetMaintenanceWindowTaskWithContext is the same as GetMaintenanceWindowTask with the addition of the ability to pass a context and additional request options.

See GetMaintenanceWindowTask for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetMaintenanceWindowWithContext

func (c *SSM) GetMaintenanceWindowWithContext(ctx aws.Context, input *GetMaintenanceWindowInput, opts ...request.Option) (*GetMaintenanceWindowOutput, error)

GetMaintenanceWindowWithContext is the same as GetMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See GetMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetParameter

func (c *SSM) GetParameter(input *GetParameterInput) (*GetParameterOutput, error)

GetParameter API operation for Amazon Simple Systems Manager (SSM).

Get information about a parameter by using the parameter name. Don't confuse this API action with the GetParameters API action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetParameter for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidKeyId "InvalidKeyId" The query key ID is not valid.

  • ErrCodeParameterNotFound "ParameterNotFound" The parameter could not be found. Verify the name and try again.

  • ErrCodeParameterVersionNotFound "ParameterVersionNotFound" The specified parameter version was not found. Verify the parameter name and version, and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter

GetParameterHistory

func (c *SSM) GetParameterHistory(input *GetParameterHistoryInput) (*GetParameterHistoryOutput, error)

GetParameterHistory API operation for Amazon Simple Systems Manager (SSM).

Query a list of all parameters used by the AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetParameterHistory for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeParameterNotFound "ParameterNotFound" The parameter could not be found. Verify the name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInvalidKeyId "InvalidKeyId" The query key ID is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory

GetParameterHistoryPages

func (c *SSM) GetParameterHistoryPages(input *GetParameterHistoryInput, fn func(*GetParameterHistoryOutput, bool) bool) error

GetParameterHistoryPages iterates over the pages of a GetParameterHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetParameterHistory method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetParameterHistory operation. pageNum := 0 err := client.GetParameterHistoryPages(params, func(page *GetParameterHistoryOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetParameterHistoryPagesWithContext

func (c *SSM) GetParameterHistoryPagesWithContext(ctx aws.Context, input *GetParameterHistoryInput, fn func(*GetParameterHistoryOutput, bool) bool, opts ...request.Option) error

GetParameterHistoryPagesWithContext same as GetParameterHistoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetParameterHistoryRequest

func (c *SSM) GetParameterHistoryRequest(input *GetParameterHistoryInput) (req *request.Request, output *GetParameterHistoryOutput)

GetParameterHistoryRequest generates a "aws/request.Request" representing the client's request for the GetParameterHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetParameterHistory for more information on using the GetParameterHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetParameterHistoryRequest method. req, resp := client.GetParameterHistoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory

GetParameterHistoryWithContext

func (c *SSM) GetParameterHistoryWithContext(ctx aws.Context, input *GetParameterHistoryInput, opts ...request.Option) (*GetParameterHistoryOutput, error)

GetParameterHistoryWithContext is the same as GetParameterHistory with the addition of the ability to pass a context and additional request options.

See GetParameterHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetParameterRequest

func (c *SSM) GetParameterRequest(input *GetParameterInput) (req *request.Request, output *GetParameterOutput)

GetParameterRequest generates a "aws/request.Request" representing the client's request for the GetParameter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetParameter for more information on using the GetParameter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetParameterRequest method. req, resp := client.GetParameterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter

GetParameterWithContext

func (c *SSM) GetParameterWithContext(ctx aws.Context, input *GetParameterInput, opts ...request.Option) (*GetParameterOutput, error)

GetParameterWithContext is the same as GetParameter with the addition of the ability to pass a context and additional request options.

See GetParameter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetParameters

func (c *SSM) GetParameters(input *GetParametersInput) (*GetParametersOutput, error)

GetParameters API operation for Amazon Simple Systems Manager (SSM).

Get details of a parameter. Don't confuse this API action with the GetParameter API action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetParameters for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidKeyId "InvalidKeyId" The query key ID is not valid.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters

GetParametersByPath

func (c *SSM) GetParametersByPath(input *GetParametersByPathInput) (*GetParametersByPathOutput, error)

GetParametersByPath API operation for Amazon Simple Systems Manager (SSM).

Retrieve parameters in a specific hierarchy. For more information, see Working with Systems Manager Parameters (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-working.html) in the AWS Systems Manager User Guide.

Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results.

This API action doesn't support filtering by tags.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetParametersByPath for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidFilterOption "InvalidFilterOption" The specified filter option is not valid. Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.

  • ErrCodeInvalidFilterValue "InvalidFilterValue" The filter value is not valid. Verify the value and try again.

  • ErrCodeInvalidKeyId "InvalidKeyId" The query key ID is not valid.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath

GetParametersByPathPages

func (c *SSM) GetParametersByPathPages(input *GetParametersByPathInput, fn func(*GetParametersByPathOutput, bool) bool) error

GetParametersByPathPages iterates over the pages of a GetParametersByPath operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetParametersByPath method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetParametersByPath operation. pageNum := 0 err := client.GetParametersByPathPages(params, func(page *GetParametersByPathOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

GetParametersByPathPagesWithContext

func (c *SSM) GetParametersByPathPagesWithContext(ctx aws.Context, input *GetParametersByPathInput, fn func(*GetParametersByPathOutput, bool) bool, opts ...request.Option) error

GetParametersByPathPagesWithContext same as GetParametersByPathPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetParametersByPathRequest

func (c *SSM) GetParametersByPathRequest(input *GetParametersByPathInput) (req *request.Request, output *GetParametersByPathOutput)

GetParametersByPathRequest generates a "aws/request.Request" representing the client's request for the GetParametersByPath operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetParametersByPath for more information on using the GetParametersByPath API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetParametersByPathRequest method. req, resp := client.GetParametersByPathRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath

GetParametersByPathWithContext

func (c *SSM) GetParametersByPathWithContext(ctx aws.Context, input *GetParametersByPathInput, opts ...request.Option) (*GetParametersByPathOutput, error)

GetParametersByPathWithContext is the same as GetParametersByPath with the addition of the ability to pass a context and additional request options.

See GetParametersByPath for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetParametersRequest

func (c *SSM) GetParametersRequest(input *GetParametersInput) (req *request.Request, output *GetParametersOutput)

GetParametersRequest generates a "aws/request.Request" representing the client's request for the GetParameters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetParameters for more information on using the GetParameters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetParametersRequest method. req, resp := client.GetParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters

GetParametersWithContext

func (c *SSM) GetParametersWithContext(ctx aws.Context, input *GetParametersInput, opts ...request.Option) (*GetParametersOutput, error)

GetParametersWithContext is the same as GetParameters with the addition of the ability to pass a context and additional request options.

See GetParameters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetPatchBaseline

func (c *SSM) GetPatchBaseline(input *GetPatchBaselineInput) (*GetPatchBaselineOutput, error)

GetPatchBaseline API operation for Amazon Simple Systems Manager (SSM).

Retrieves information about a patch baseline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetPatchBaseline for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline

GetPatchBaselineForPatchGroup

func (c *SSM) GetPatchBaselineForPatchGroup(input *GetPatchBaselineForPatchGroupInput) (*GetPatchBaselineForPatchGroupOutput, error)

GetPatchBaselineForPatchGroup API operation for Amazon Simple Systems Manager (SSM).

Retrieves the patch baseline that should be used for the specified patch group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetPatchBaselineForPatchGroup for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup

GetPatchBaselineForPatchGroupRequest

func (c *SSM) GetPatchBaselineForPatchGroupRequest(input *GetPatchBaselineForPatchGroupInput) (req *request.Request, output *GetPatchBaselineForPatchGroupOutput)

GetPatchBaselineForPatchGroupRequest generates a "aws/request.Request" representing the client's request for the GetPatchBaselineForPatchGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPatchBaselineForPatchGroup for more information on using the GetPatchBaselineForPatchGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPatchBaselineForPatchGroupRequest method. req, resp := client.GetPatchBaselineForPatchGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup

GetPatchBaselineForPatchGroupWithContext

func (c *SSM) GetPatchBaselineForPatchGroupWithContext(ctx aws.Context, input *GetPatchBaselineForPatchGroupInput, opts ...request.Option) (*GetPatchBaselineForPatchGroupOutput, error)

GetPatchBaselineForPatchGroupWithContext is the same as GetPatchBaselineForPatchGroup with the addition of the ability to pass a context and additional request options.

See GetPatchBaselineForPatchGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetPatchBaselineRequest

func (c *SSM) GetPatchBaselineRequest(input *GetPatchBaselineInput) (req *request.Request, output *GetPatchBaselineOutput)

GetPatchBaselineRequest generates a "aws/request.Request" representing the client's request for the GetPatchBaseline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPatchBaseline for more information on using the GetPatchBaseline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPatchBaselineRequest method. req, resp := client.GetPatchBaselineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline

GetPatchBaselineWithContext

func (c *SSM) GetPatchBaselineWithContext(ctx aws.Context, input *GetPatchBaselineInput, opts ...request.Option) (*GetPatchBaselineOutput, error)

GetPatchBaselineWithContext is the same as GetPatchBaseline with the addition of the ability to pass a context and additional request options.

See GetPatchBaseline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetServiceSetting

func (c *SSM) GetServiceSetting(input *GetServiceSettingInput) (*GetServiceSettingOutput, error)

GetServiceSetting API operation for Amazon Simple Systems Manager (SSM).

ServiceSetting is an account-level setting for an AWS service. This setting defines how a user interacts with or uses a service or a feature of a service. For example, if an AWS service charges money to the account based on feature or service usage, then the AWS service team might create a default setting of "false". This means the user can't use this feature unless they change the setting to "true" and intentionally opt in for a paid feature.

Services map a SettingId object to a setting value. AWS services teams define the default value for a SettingId. You can't create a new SettingId, but you can overwrite the default value if you have the ssm:UpdateServiceSetting permission for the setting. Use the UpdateServiceSetting API action to change the default setting. Or use the ResetServiceSetting to change the value back to the original value defined by the AWS service team.

Query the current service setting for the account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation GetServiceSetting for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeServiceSettingNotFound "ServiceSettingNotFound" The specified service setting was not found. Either the service name or the setting has not been provisioned by the AWS service team.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSetting

GetServiceSettingRequest

func (c *SSM) GetServiceSettingRequest(input *GetServiceSettingInput) (req *request.Request, output *GetServiceSettingOutput)

GetServiceSettingRequest generates a "aws/request.Request" representing the client's request for the GetServiceSetting operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServiceSetting for more information on using the GetServiceSetting API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceSettingRequest method. req, resp := client.GetServiceSettingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSetting

GetServiceSettingWithContext

func (c *SSM) GetServiceSettingWithContext(ctx aws.Context, input *GetServiceSettingInput, opts ...request.Option) (*GetServiceSettingOutput, error)

GetServiceSettingWithContext is the same as GetServiceSetting with the addition of the ability to pass a context and additional request options.

See GetServiceSetting for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

LabelParameterVersion

func (c *SSM) LabelParameterVersion(input *LabelParameterVersionInput) (*LabelParameterVersionOutput, error)

LabelParameterVersion API operation for Amazon Simple Systems Manager (SSM).

A parameter label is a user-defined alias to help you manage different versions of a parameter. When you modify a parameter, Systems Manager automatically saves a new version and increments the version number by one. A label can help you remember the purpose of a parameter when there are multiple versions.

Parameter labels have the following requirements and restrictions.

  • A version of a parameter can have a maximum of 10 labels.

  • You can't attach the same label to different versions of the same parameter. For example, if version 1 has the label Production, then you can't attach Production to version 2.

  • You can move a label from one version of a parameter to another.

  • You can't create a label when you create a new parameter. You must attach a label to a specific version of a parameter.

  • You can't delete a parameter label. If you no longer want to use a parameter label, then you must move it to a different version of a parameter.

  • A label can have a maximum of 100 characters.

  • Labels can contain letters (case sensitive), numbers, periods (.), hyphens

(-), or underscores (_).
  • Labels can't begin with a number, "aws," or "ssm" (not case sensitive). If a label fails to meet these requirements, then the label is not associated with a parameter and the system displays it in the list of InvalidLabels.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation LabelParameterVersion for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

  • ErrCodeParameterNotFound "ParameterNotFound" The parameter could not be found. Verify the name and try again.

  • ErrCodeParameterVersionNotFound "ParameterVersionNotFound" The specified parameter version was not found. Verify the parameter name and version, and try again.

  • ErrCodeParameterVersionLabelLimitExceeded "ParameterVersionLabelLimitExceeded" A parameter version can have a maximum of ten labels.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersion

LabelParameterVersionRequest

func (c *SSM) LabelParameterVersionRequest(input *LabelParameterVersionInput) (req *request.Request, output *LabelParameterVersionOutput)

LabelParameterVersionRequest generates a "aws/request.Request" representing the client's request for the LabelParameterVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See LabelParameterVersion for more information on using the LabelParameterVersion API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the LabelParameterVersionRequest method. req, resp := client.LabelParameterVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersion

LabelParameterVersionWithContext

func (c *SSM) LabelParameterVersionWithContext(ctx aws.Context, input *LabelParameterVersionInput, opts ...request.Option) (*LabelParameterVersionOutput, error)

LabelParameterVersionWithContext is the same as LabelParameterVersion with the addition of the ability to pass a context and additional request options.

See LabelParameterVersion for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAssociationVersions

func (c *SSM) ListAssociationVersions(input *ListAssociationVersionsInput) (*ListAssociationVersionsOutput, error)

ListAssociationVersions API operation for Amazon Simple Systems Manager (SSM).

Retrieves all versions of an association for a specific association ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListAssociationVersions for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions

ListAssociationVersionsRequest

func (c *SSM) ListAssociationVersionsRequest(input *ListAssociationVersionsInput) (req *request.Request, output *ListAssociationVersionsOutput)

ListAssociationVersionsRequest generates a "aws/request.Request" representing the client's request for the ListAssociationVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociationVersions for more information on using the ListAssociationVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociationVersionsRequest method. req, resp := client.ListAssociationVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions

ListAssociationVersionsWithContext

func (c *SSM) ListAssociationVersionsWithContext(ctx aws.Context, input *ListAssociationVersionsInput, opts ...request.Option) (*ListAssociationVersionsOutput, error)

ListAssociationVersionsWithContext is the same as ListAssociationVersions with the addition of the ability to pass a context and additional request options.

See ListAssociationVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAssociations

func (c *SSM) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error)

ListAssociations API operation for Amazon Simple Systems Manager (SSM).

Lists the associations for the specified Systems Manager document or instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListAssociations for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations

ListAssociationsPages

func (c *SSM) ListAssociationsPages(input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool) error

ListAssociationsPages iterates over the pages of a ListAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssociations operation. pageNum := 0 err := client.ListAssociationsPages(params, func(page *ListAssociationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListAssociationsPagesWithContext

func (c *SSM) ListAssociationsPagesWithContext(ctx aws.Context, input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool, opts ...request.Option) error

ListAssociationsPagesWithContext same as ListAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAssociationsRequest

func (c *SSM) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput)

ListAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociations for more information on using the ListAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociationsRequest method. req, resp := client.ListAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations

ListAssociationsWithContext

func (c *SSM) ListAssociationsWithContext(ctx aws.Context, input *ListAssociationsInput, opts ...request.Option) (*ListAssociationsOutput, error)

ListAssociationsWithContext is the same as ListAssociations with the addition of the ability to pass a context and additional request options.

See ListAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListCommandInvocations

func (c *SSM) ListCommandInvocations(input *ListCommandInvocationsInput) (*ListCommandInvocationsOutput, error)

ListCommandInvocations API operation for Amazon Simple Systems Manager (SSM).

An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user executes SendCommand against three instances, then a command invocation is created for each requested instance ID. ListCommandInvocations provide status about command execution.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListCommandInvocations for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidCommandId "InvalidCommandId"

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations

ListCommandInvocationsPages

func (c *SSM) ListCommandInvocationsPages(input *ListCommandInvocationsInput, fn func(*ListCommandInvocationsOutput, bool) bool) error

ListCommandInvocationsPages iterates over the pages of a ListCommandInvocations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCommandInvocations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCommandInvocations operation. pageNum := 0 err := client.ListCommandInvocationsPages(params, func(page *ListCommandInvocationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListCommandInvocationsPagesWithContext

func (c *SSM) ListCommandInvocationsPagesWithContext(ctx aws.Context, input *ListCommandInvocationsInput, fn func(*ListCommandInvocationsOutput, bool) bool, opts ...request.Option) error

ListCommandInvocationsPagesWithContext same as ListCommandInvocationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListCommandInvocationsRequest

func (c *SSM) ListCommandInvocationsRequest(input *ListCommandInvocationsInput) (req *request.Request, output *ListCommandInvocationsOutput)

ListCommandInvocationsRequest generates a "aws/request.Request" representing the client's request for the ListCommandInvocations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCommandInvocations for more information on using the ListCommandInvocations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCommandInvocationsRequest method. req, resp := client.ListCommandInvocationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations

ListCommandInvocationsWithContext

func (c *SSM) ListCommandInvocationsWithContext(ctx aws.Context, input *ListCommandInvocationsInput, opts ...request.Option) (*ListCommandInvocationsOutput, error)

ListCommandInvocationsWithContext is the same as ListCommandInvocations with the addition of the ability to pass a context and additional request options.

See ListCommandInvocations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListCommands

func (c *SSM) ListCommands(input *ListCommandsInput) (*ListCommandsOutput, error)

ListCommands API operation for Amazon Simple Systems Manager (SSM).

Lists the commands requested by users of the AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListCommands for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidCommandId "InvalidCommandId"

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands

ListCommandsPages

func (c *SSM) ListCommandsPages(input *ListCommandsInput, fn func(*ListCommandsOutput, bool) bool) error

ListCommandsPages iterates over the pages of a ListCommands operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCommands method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCommands operation. pageNum := 0 err := client.ListCommandsPages(params, func(page *ListCommandsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListCommandsPagesWithContext

func (c *SSM) ListCommandsPagesWithContext(ctx aws.Context, input *ListCommandsInput, fn func(*ListCommandsOutput, bool) bool, opts ...request.Option) error

ListCommandsPagesWithContext same as ListCommandsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListCommandsRequest

func (c *SSM) ListCommandsRequest(input *ListCommandsInput) (req *request.Request, output *ListCommandsOutput)

ListCommandsRequest generates a "aws/request.Request" representing the client's request for the ListCommands operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCommands for more information on using the ListCommands API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCommandsRequest method. req, resp := client.ListCommandsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands

ListCommandsWithContext

func (c *SSM) ListCommandsWithContext(ctx aws.Context, input *ListCommandsInput, opts ...request.Option) (*ListCommandsOutput, error)

ListCommandsWithContext is the same as ListCommands with the addition of the ability to pass a context and additional request options.

See ListCommands for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListComplianceItems

func (c *SSM) ListComplianceItems(input *ListComplianceItemsInput) (*ListComplianceItemsOutput, error)

ListComplianceItems API operation for Amazon Simple Systems Manager (SSM).

For a specified resource ID, this API action returns a list of compliance statuses for different resource types. Currently, you can only specify one resource ID per call. List results depend on the criteria specified in the filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListComplianceItems for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceType "InvalidResourceType" The resource type is not valid. For example, if you are attempting to tag an instance, the instance must be a registered, managed instance.

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems

ListComplianceItemsRequest

func (c *SSM) ListComplianceItemsRequest(input *ListComplianceItemsInput) (req *request.Request, output *ListComplianceItemsOutput)

ListComplianceItemsRequest generates a "aws/request.Request" representing the client's request for the ListComplianceItems operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListComplianceItems for more information on using the ListComplianceItems API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListComplianceItemsRequest method. req, resp := client.ListComplianceItemsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems

ListComplianceItemsWithContext

func (c *SSM) ListComplianceItemsWithContext(ctx aws.Context, input *ListComplianceItemsInput, opts ...request.Option) (*ListComplianceItemsOutput, error)

ListComplianceItemsWithContext is the same as ListComplianceItems with the addition of the ability to pass a context and additional request options.

See ListComplianceItems for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListComplianceSummaries

func (c *SSM) ListComplianceSummaries(input *ListComplianceSummariesInput) (*ListComplianceSummariesOutput, error)

ListComplianceSummaries API operation for Amazon Simple Systems Manager (SSM).

Returns a summary count of compliant and non-compliant resources for a compliance type. For example, this call can return State Manager associations, patches, or custom compliance types according to the filter criteria that you specify.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListComplianceSummaries for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries

ListComplianceSummariesRequest

func (c *SSM) ListComplianceSummariesRequest(input *ListComplianceSummariesInput) (req *request.Request, output *ListComplianceSummariesOutput)

ListComplianceSummariesRequest generates a "aws/request.Request" representing the client's request for the ListComplianceSummaries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListComplianceSummaries for more information on using the ListComplianceSummaries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListComplianceSummariesRequest method. req, resp := client.ListComplianceSummariesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries

ListComplianceSummariesWithContext

func (c *SSM) ListComplianceSummariesWithContext(ctx aws.Context, input *ListComplianceSummariesInput, opts ...request.Option) (*ListComplianceSummariesOutput, error)

ListComplianceSummariesWithContext is the same as ListComplianceSummaries with the addition of the ability to pass a context and additional request options.

See ListComplianceSummaries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDocumentVersions

func (c *SSM) ListDocumentVersions(input *ListDocumentVersionsInput) (*ListDocumentVersionsOutput, error)

ListDocumentVersions API operation for Amazon Simple Systems Manager (SSM).

List all versions for a document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListDocumentVersions for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions

ListDocumentVersionsRequest

func (c *SSM) ListDocumentVersionsRequest(input *ListDocumentVersionsInput) (req *request.Request, output *ListDocumentVersionsOutput)

ListDocumentVersionsRequest generates a "aws/request.Request" representing the client's request for the ListDocumentVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDocumentVersions for more information on using the ListDocumentVersions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDocumentVersionsRequest method. req, resp := client.ListDocumentVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions

ListDocumentVersionsWithContext

func (c *SSM) ListDocumentVersionsWithContext(ctx aws.Context, input *ListDocumentVersionsInput, opts ...request.Option) (*ListDocumentVersionsOutput, error)

ListDocumentVersionsWithContext is the same as ListDocumentVersions with the addition of the ability to pass a context and additional request options.

See ListDocumentVersions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDocuments

func (c *SSM) ListDocuments(input *ListDocumentsInput) (*ListDocumentsOutput, error)

ListDocuments API operation for Amazon Simple Systems Manager (SSM).

Describes one or more of your Systems Manager documents.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListDocuments for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInvalidFilterKey "InvalidFilterKey" The specified key is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments

ListDocumentsPages

func (c *SSM) ListDocumentsPages(input *ListDocumentsInput, fn func(*ListDocumentsOutput, bool) bool) error

ListDocumentsPages iterates over the pages of a ListDocuments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDocuments method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDocuments operation. pageNum := 0 err := client.ListDocumentsPages(params, func(page *ListDocumentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListDocumentsPagesWithContext

func (c *SSM) ListDocumentsPagesWithContext(ctx aws.Context, input *ListDocumentsInput, fn func(*ListDocumentsOutput, bool) bool, opts ...request.Option) error

ListDocumentsPagesWithContext same as ListDocumentsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListDocumentsRequest

func (c *SSM) ListDocumentsRequest(input *ListDocumentsInput) (req *request.Request, output *ListDocumentsOutput)

ListDocumentsRequest generates a "aws/request.Request" representing the client's request for the ListDocuments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDocuments for more information on using the ListDocuments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDocumentsRequest method. req, resp := client.ListDocumentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments

ListDocumentsWithContext

func (c *SSM) ListDocumentsWithContext(ctx aws.Context, input *ListDocumentsInput, opts ...request.Option) (*ListDocumentsOutput, error)

ListDocumentsWithContext is the same as ListDocuments with the addition of the ability to pass a context and additional request options.

See ListDocuments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListInventoryEntries

func (c *SSM) ListInventoryEntries(input *ListInventoryEntriesInput) (*ListInventoryEntriesOutput, error)

ListInventoryEntries API operation for Amazon Simple Systems Manager (SSM).

A list of inventory items returned by the request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListInventoryEntries for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidTypeNameException "InvalidTypeNameException" The parameter type name is not valid.

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries

ListInventoryEntriesRequest

func (c *SSM) ListInventoryEntriesRequest(input *ListInventoryEntriesInput) (req *request.Request, output *ListInventoryEntriesOutput)

ListInventoryEntriesRequest generates a "aws/request.Request" representing the client's request for the ListInventoryEntries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInventoryEntries for more information on using the ListInventoryEntries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInventoryEntriesRequest method. req, resp := client.ListInventoryEntriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries

ListInventoryEntriesWithContext

func (c *SSM) ListInventoryEntriesWithContext(ctx aws.Context, input *ListInventoryEntriesInput, opts ...request.Option) (*ListInventoryEntriesOutput, error)

ListInventoryEntriesWithContext is the same as ListInventoryEntries with the addition of the ability to pass a context and additional request options.

See ListInventoryEntries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListResourceComplianceSummaries

func (c *SSM) ListResourceComplianceSummaries(input *ListResourceComplianceSummariesInput) (*ListResourceComplianceSummariesOutput, error)

ListResourceComplianceSummaries API operation for Amazon Simple Systems Manager (SSM).

Returns a resource-level summary count. The summary includes information about compliant and non-compliant statuses and detailed compliance-item severity counts, according to the filter criteria you specify.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListResourceComplianceSummaries for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidFilter "InvalidFilter" The filter name is not valid. Verify the you entered the correct name and try again.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries

ListResourceComplianceSummariesRequest

func (c *SSM) ListResourceComplianceSummariesRequest(input *ListResourceComplianceSummariesInput) (req *request.Request, output *ListResourceComplianceSummariesOutput)

ListResourceComplianceSummariesRequest generates a "aws/request.Request" representing the client's request for the ListResourceComplianceSummaries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResourceComplianceSummaries for more information on using the ListResourceComplianceSummaries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResourceComplianceSummariesRequest method. req, resp := client.ListResourceComplianceSummariesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries

ListResourceComplianceSummariesWithContext

func (c *SSM) ListResourceComplianceSummariesWithContext(ctx aws.Context, input *ListResourceComplianceSummariesInput, opts ...request.Option) (*ListResourceComplianceSummariesOutput, error)

ListResourceComplianceSummariesWithContext is the same as ListResourceComplianceSummaries with the addition of the ability to pass a context and additional request options.

See ListResourceComplianceSummaries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListResourceDataSync

func (c *SSM) ListResourceDataSync(input *ListResourceDataSyncInput) (*ListResourceDataSyncOutput, error)

ListResourceDataSync API operation for Amazon Simple Systems Manager (SSM).

Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed.

The number of sync configurations might be too large to return using a single call to ListResourceDataSync. You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListResourceDataSync for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidNextToken "InvalidNextToken" The specified token is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync

ListResourceDataSyncRequest

func (c *SSM) ListResourceDataSyncRequest(input *ListResourceDataSyncInput) (req *request.Request, output *ListResourceDataSyncOutput)

ListResourceDataSyncRequest generates a "aws/request.Request" representing the client's request for the ListResourceDataSync operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResourceDataSync for more information on using the ListResourceDataSync API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResourceDataSyncRequest method. req, resp := client.ListResourceDataSyncRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync

ListResourceDataSyncWithContext

func (c *SSM) ListResourceDataSyncWithContext(ctx aws.Context, input *ListResourceDataSyncInput, opts ...request.Option) (*ListResourceDataSyncOutput, error)

ListResourceDataSyncWithContext is the same as ListResourceDataSync with the addition of the ability to pass a context and additional request options.

See ListResourceDataSync for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResource

func (c *SSM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Simple Systems Manager (SSM).

Returns a list of the tags assigned to the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ListTagsForResource for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceType "InvalidResourceType" The resource type is not valid. For example, if you are attempting to tag an instance, the instance must be a registered, managed instance.

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource

ListTagsForResourceRequest

func (c *SSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource

ListTagsForResourceWithContext

func (c *SSM) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ModifyDocumentPermission

func (c *SSM) ModifyDocumentPermission(input *ModifyDocumentPermissionInput) (*ModifyDocumentPermissionOutput, error)

ModifyDocumentPermission API operation for Amazon Simple Systems Manager (SSM).

Shares a Systems Manager document publicly or privately. If you share a document privately, you must specify the AWS user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ModifyDocumentPermission for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidPermissionType "InvalidPermissionType" The permission type is not supported. Share is the only supported permission type.

  • ErrCodeDocumentPermissionLimit "DocumentPermissionLimit" The document cannot be shared with more AWS user accounts. You can share a document with a maximum of 20 accounts. You can publicly share up to five documents. If you need to increase this limit, contact AWS Support.

  • ErrCodeDocumentLimitExceeded "DocumentLimitExceeded" You can have at most 200 active Systems Manager documents.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission

ModifyDocumentPermissionRequest

func (c *SSM) ModifyDocumentPermissionRequest(input *ModifyDocumentPermissionInput) (req *request.Request, output *ModifyDocumentPermissionOutput)

ModifyDocumentPermissionRequest generates a "aws/request.Request" representing the client's request for the ModifyDocumentPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyDocumentPermission for more information on using the ModifyDocumentPermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyDocumentPermissionRequest method. req, resp := client.ModifyDocumentPermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission

ModifyDocumentPermissionWithContext

func (c *SSM) ModifyDocumentPermissionWithContext(ctx aws.Context, input *ModifyDocumentPermissionInput, opts ...request.Option) (*ModifyDocumentPermissionOutput, error)

ModifyDocumentPermissionWithContext is the same as ModifyDocumentPermission with the addition of the ability to pass a context and additional request options.

See ModifyDocumentPermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutComplianceItems

func (c *SSM) PutComplianceItems(input *PutComplianceItemsInput) (*PutComplianceItemsOutput, error)

PutComplianceItems API operation for Amazon Simple Systems Manager (SSM).

Registers a compliance type and other compliance details on a designated resource. This action lets you register custom compliance details with a resource. This call overwrites existing compliance information on the resource, so you must provide a full list of compliance items each time that you send the request.

ComplianceType can be one of the following:

  • ExecutionId: The execution ID when the patch, association, or custom compliance item was applied.

  • ExecutionType: Specify patch, association, or Custom:string.

  • ExecutionTime. The time the patch, association, or custom compliance item was applied to the instance.

  • Id: The patch, association, or custom compliance ID.

  • Title: A title.

  • Status: The status of the compliance item. For example, approved for patches, or Failed for associations.

  • Severity: A patch severity. For example, critical.

  • DocumentName: A SSM document name. For example, AWS-RunPatchBaseline.

  • DocumentVersion: An SSM document version number. For example, 4.

  • Classification: A patch classification. For example, security updates.

  • PatchBaselineId: A patch baseline ID.

  • PatchSeverity: A patch severity. For example, Critical.

  • PatchState: A patch state. For example, InstancesWithFailedPatches.

  • PatchGroup: The name of a patch group.

  • InstalledTime: The time the association, patch, or custom compliance item was applied to the resource. Specify the time by using the following format: yyyy-MM-dd'T'HH:mm:ss'Z'

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation PutComplianceItems for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidItemContentException "InvalidItemContentException" One or more content items is not valid.

  • ErrCodeTotalSizeLimitExceededException "TotalSizeLimitExceededException" The size of inventory data has exceeded the total size limit for the resource.

  • ErrCodeItemSizeLimitExceededException "ItemSizeLimitExceededException" The inventory item size has exceeded the size limit.

  • ErrCodeComplianceTypeCountLimitExceededException "ComplianceTypeCountLimitExceededException" You specified too many custom compliance types. You can specify a maximum of 10 different types.

  • ErrCodeInvalidResourceType "InvalidResourceType" The resource type is not valid. For example, if you are attempting to tag an instance, the instance must be a registered, managed instance.

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems

PutComplianceItemsRequest

func (c *SSM) PutComplianceItemsRequest(input *PutComplianceItemsInput) (req *request.Request, output *PutComplianceItemsOutput)

PutComplianceItemsRequest generates a "aws/request.Request" representing the client's request for the PutComplianceItems operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutComplianceItems for more information on using the PutComplianceItems API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutComplianceItemsRequest method. req, resp := client.PutComplianceItemsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems

PutComplianceItemsWithContext

func (c *SSM) PutComplianceItemsWithContext(ctx aws.Context, input *PutComplianceItemsInput, opts ...request.Option) (*PutComplianceItemsOutput, error)

PutComplianceItemsWithContext is the same as PutComplianceItems with the addition of the ability to pass a context and additional request options.

See PutComplianceItems for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutInventory

func (c *SSM) PutInventory(input *PutInventoryInput) (*PutInventoryOutput, error)

PutInventory API operation for Amazon Simple Systems Manager (SSM).

Bulk update custom inventory items on one more instance. The request adds an inventory item, if it doesn't already exist, or updates an inventory item, if it does exist.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation PutInventory for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidTypeNameException "InvalidTypeNameException" The parameter type name is not valid.

  • ErrCodeInvalidItemContentException "InvalidItemContentException" One or more content items is not valid.

  • ErrCodeTotalSizeLimitExceededException "TotalSizeLimitExceededException" The size of inventory data has exceeded the total size limit for the resource.

  • ErrCodeItemSizeLimitExceededException "ItemSizeLimitExceededException" The inventory item size has exceeded the size limit.

  • ErrCodeItemContentMismatchException "ItemContentMismatchException" The inventory item has invalid content.

  • ErrCodeCustomSchemaCountLimitExceededException "CustomSchemaCountLimitExceededException" You have exceeded the limit for custom schemas. Delete one or more custom schemas and try again.

  • ErrCodeUnsupportedInventorySchemaVersionException "UnsupportedInventorySchemaVersionException" Inventory item type schema version has to match supported versions in the service. Check output of GetInventorySchema to see the available schema version for each type.

  • ErrCodeUnsupportedInventoryItemContextException "UnsupportedInventoryItemContextException" The Context attribute that you specified for the InventoryItem is not allowed for this inventory type. You can only use the Context attribute with inventory types like AWS:ComplianceItem.

  • ErrCodeInvalidInventoryItemContextException "InvalidInventoryItemContextException" You specified invalid keys or values in the Context attribute for InventoryItem. Verify the keys and values, and try again.

  • ErrCodeSubTypeCountLimitExceededException "SubTypeCountLimitExceededException" The sub-type count exceeded the limit for the inventory type.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory

PutInventoryRequest

func (c *SSM) PutInventoryRequest(input *PutInventoryInput) (req *request.Request, output *PutInventoryOutput)

PutInventoryRequest generates a "aws/request.Request" representing the client's request for the PutInventory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutInventory for more information on using the PutInventory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutInventoryRequest method. req, resp := client.PutInventoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory

PutInventoryWithContext

func (c *SSM) PutInventoryWithContext(ctx aws.Context, input *PutInventoryInput, opts ...request.Option) (*PutInventoryOutput, error)

PutInventoryWithContext is the same as PutInventory with the addition of the ability to pass a context and additional request options.

See PutInventory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

PutParameter

func (c *SSM) PutParameter(input *PutParameterInput) (*PutParameterOutput, error)

PutParameter API operation for Amazon Simple Systems Manager (SSM).

Add a parameter to the system.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation PutParameter for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidKeyId "InvalidKeyId" The query key ID is not valid.

  • ErrCodeParameterLimitExceeded "ParameterLimitExceeded" You have exceeded the number of parameters for this AWS account. Delete one or more parameters and try again.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

  • ErrCodeParameterAlreadyExists "ParameterAlreadyExists" The parameter already exists. You can't create duplicate parameters.

  • ErrCodeHierarchyTypeMismatchException "HierarchyTypeMismatchException" Parameter Store does not support changing a parameter type in a hierarchy. For example, you can't change a parameter from a String type to a SecureString type. You must create a new, unique parameter.

  • ErrCodeInvalidAllowedPatternException "InvalidAllowedPatternException" The request does not meet the regular expression requirement.

  • ErrCodeParameterMaxVersionLimitExceeded "ParameterMaxVersionLimitExceeded" The parameter exceeded the maximum number of allowed versions.

  • ErrCodeParameterPatternMismatchException "ParameterPatternMismatchException" The parameter name is not valid.

  • ErrCodeUnsupportedParameterType "UnsupportedParameterType" The parameter type is not supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter

PutParameterRequest

func (c *SSM) PutParameterRequest(input *PutParameterInput) (req *request.Request, output *PutParameterOutput)

PutParameterRequest generates a "aws/request.Request" representing the client's request for the PutParameter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutParameter for more information on using the PutParameter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutParameterRequest method. req, resp := client.PutParameterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter

PutParameterWithContext

func (c *SSM) PutParameterWithContext(ctx aws.Context, input *PutParameterInput, opts ...request.Option) (*PutParameterOutput, error)

PutParameterWithContext is the same as PutParameter with the addition of the ability to pass a context and additional request options.

See PutParameter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RegisterDefaultPatchBaseline

func (c *SSM) RegisterDefaultPatchBaseline(input *RegisterDefaultPatchBaselineInput) (*RegisterDefaultPatchBaselineOutput, error)

RegisterDefaultPatchBaseline API operation for Amazon Simple Systems Manager (SSM).

Defines the default patch baseline.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation RegisterDefaultPatchBaseline for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline

RegisterDefaultPatchBaselineRequest

func (c *SSM) RegisterDefaultPatchBaselineRequest(input *RegisterDefaultPatchBaselineInput) (req *request.Request, output *RegisterDefaultPatchBaselineOutput)

RegisterDefaultPatchBaselineRequest generates a "aws/request.Request" representing the client's request for the RegisterDefaultPatchBaseline operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterDefaultPatchBaseline for more information on using the RegisterDefaultPatchBaseline API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterDefaultPatchBaselineRequest method. req, resp := client.RegisterDefaultPatchBaselineRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline

RegisterDefaultPatchBaselineWithContext

func (c *SSM) RegisterDefaultPatchBaselineWithContext(ctx aws.Context, input *RegisterDefaultPatchBaselineInput, opts ...request.Option) (*RegisterDefaultPatchBaselineOutput, error)

RegisterDefaultPatchBaselineWithContext is the same as RegisterDefaultPatchBaseline with the addition of the ability to pass a context and additional request options.

See RegisterDefaultPatchBaseline for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RegisterPatchBaselineForPatchGroup

func (c *SSM) RegisterPatchBaselineForPatchGroup(input *RegisterPatchBaselineForPatchGroupInput) (*RegisterPatchBaselineForPatchGroupOutput, error)

RegisterPatchBaselineForPatchGroup API operation for Amazon Simple Systems Manager (SSM).

Registers a patch baseline for a patch group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation RegisterPatchBaselineForPatchGroup for usage and error information.

Returned Error Codes:

  • ErrCodeAlreadyExistsException "AlreadyExistsException" Error returned if an attempt is made to register a patch group with a patch baseline that is already registered with a different patch baseline.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeResourceLimitExceededException "ResourceLimitExceededException" Error returned when the caller has exceeded the default resource limits. For example, too many Maintenance Windows or Patch baselines have been created.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup

RegisterPatchBaselineForPatchGroupRequest

func (c *SSM) RegisterPatchBaselineForPatchGroupRequest(input *RegisterPatchBaselineForPatchGroupInput) (req *request.Request, output *RegisterPatchBaselineForPatchGroupOutput)

RegisterPatchBaselineForPatchGroupRequest generates a "aws/request.Request" representing the client's request for the RegisterPatchBaselineForPatchGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterPatchBaselineForPatchGroup for more information on using the RegisterPatchBaselineForPatchGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterPatchBaselineForPatchGroupRequest method. req, resp := client.RegisterPatchBaselineForPatchGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup

RegisterPatchBaselineForPatchGroupWithContext

func (c *SSM) RegisterPatchBaselineForPatchGroupWithContext(ctx aws.Context, input *RegisterPatchBaselineForPatchGroupInput, opts ...request.Option) (*RegisterPatchBaselineForPatchGroupOutput, error)

RegisterPatchBaselineForPatchGroupWithContext is the same as RegisterPatchBaselineForPatchGroup with the addition of the ability to pass a context and additional request options.

See RegisterPatchBaselineForPatchGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RegisterTargetWithMaintenanceWindow

func (c *SSM) RegisterTargetWithMaintenanceWindow(input *RegisterTargetWithMaintenanceWindowInput) (*RegisterTargetWithMaintenanceWindowOutput, error)

RegisterTargetWithMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Registers a target with a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation RegisterTargetWithMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeIdempotentParameterMismatch "IdempotentParameterMismatch" Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeResourceLimitExceededException "ResourceLimitExceededException" Error returned when the caller has exceeded the default resource limits. For example, too many Maintenance Windows or Patch baselines have been created.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow

RegisterTargetWithMaintenanceWindowRequest

func (c *SSM) RegisterTargetWithMaintenanceWindowRequest(input *RegisterTargetWithMaintenanceWindowInput) (req *request.Request, output *RegisterTargetWithMaintenanceWindowOutput)

RegisterTargetWithMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the RegisterTargetWithMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterTargetWithMaintenanceWindow for more information on using the RegisterTargetWithMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterTargetWithMaintenanceWindowRequest method. req, resp := client.RegisterTargetWithMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow

RegisterTargetWithMaintenanceWindowWithContext

func (c *SSM) RegisterTargetWithMaintenanceWindowWithContext(ctx aws.Context, input *RegisterTargetWithMaintenanceWindowInput, opts ...request.Option) (*RegisterTargetWithMaintenanceWindowOutput, error)

RegisterTargetWithMaintenanceWindowWithContext is the same as RegisterTargetWithMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See RegisterTargetWithMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RegisterTaskWithMaintenanceWindow

func (c *SSM) RegisterTaskWithMaintenanceWindow(input *RegisterTaskWithMaintenanceWindowInput) (*RegisterTaskWithMaintenanceWindowOutput, error)

RegisterTaskWithMaintenanceWindow API operation for Amazon Simple Systems Manager (SSM).

Adds a new task to a Maintenance Window.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation RegisterTaskWithMaintenanceWindow for usage and error information.

Returned Error Codes:

  • ErrCodeIdempotentParameterMismatch "IdempotentParameterMismatch" Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeResourceLimitExceededException "ResourceLimitExceededException" Error returned when the caller has exceeded the default resource limits. For example, too many Maintenance Windows or Patch baselines have been created.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeFeatureNotAvailableException "FeatureNotAvailableException" You attempted to register a LAMBDA or STEP_FUNCTION task in a region where the corresponding service is not available.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow

RegisterTaskWithMaintenanceWindowRequest

func (c *SSM) RegisterTaskWithMaintenanceWindowRequest(input *RegisterTaskWithMaintenanceWindowInput) (req *request.Request, output *RegisterTaskWithMaintenanceWindowOutput)

RegisterTaskWithMaintenanceWindowRequest generates a "aws/request.Request" representing the client's request for the RegisterTaskWithMaintenanceWindow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterTaskWithMaintenanceWindow for more information on using the RegisterTaskWithMaintenanceWindow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterTaskWithMaintenanceWindowRequest method. req, resp := client.RegisterTaskWithMaintenanceWindowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow

RegisterTaskWithMaintenanceWindowWithContext

func (c *SSM) RegisterTaskWithMaintenanceWindowWithContext(ctx aws.Context, input *RegisterTaskWithMaintenanceWindowInput, opts ...request.Option) (*RegisterTaskWithMaintenanceWindowOutput, error)

RegisterTaskWithMaintenanceWindowWithContext is the same as RegisterTaskWithMaintenanceWindow with the addition of the ability to pass a context and additional request options.

See RegisterTaskWithMaintenanceWindow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

RemoveTagsFromResource

func (c *SSM) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResource API operation for Amazon Simple Systems Manager (SSM).

Removes all tags from the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation RemoveTagsFromResource for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidResourceType "InvalidResourceType" The resource type is not valid. For example, if you are attempting to tag an instance, the instance must be a registered, managed instance.

  • ErrCodeInvalidResourceId "InvalidResourceId" The resource ID is not valid. Verify that you entered the correct ID and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource

RemoveTagsFromResourceRequest

func (c *SSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)

RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveTagsFromResource for more information on using the RemoveTagsFromResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveTagsFromResourceRequest method. req, resp := client.RemoveTagsFromResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource

RemoveTagsFromResourceWithContext

func (c *SSM) RemoveTagsFromResourceWithContext(ctx aws.Context, input *RemoveTagsFromResourceInput, opts ...request.Option) (*RemoveTagsFromResourceOutput, error)

RemoveTagsFromResourceWithContext is the same as RemoveTagsFromResource with the addition of the ability to pass a context and additional request options.

See RemoveTagsFromResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ResetServiceSetting

func (c *SSM) ResetServiceSetting(input *ResetServiceSettingInput) (*ResetServiceSettingOutput, error)

ResetServiceSetting API operation for Amazon Simple Systems Manager (SSM).

ServiceSetting is an account-level setting for an AWS service. This setting defines how a user interacts with or uses a service or a feature of a service. For example, if an AWS service charges money to the account based on feature or service usage, then the AWS service team might create a default setting of "false". This means the user can't use this feature unless they change the setting to "true" and intentionally opt in for a paid feature.

Services map a SettingId object to a setting value. AWS services teams define the default value for a SettingId. You can't create a new SettingId, but you can overwrite the default value if you have the ssm:UpdateServiceSetting permission for the setting. Use the GetServiceSetting API action to view the current value. Use the UpdateServiceSetting API action to change the default setting.

Reset the service setting for the account to the default value as provisioned by the AWS service team.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ResetServiceSetting for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeServiceSettingNotFound "ServiceSettingNotFound" The specified service setting was not found. Either the service name or the setting has not been provisioned by the AWS service team.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSetting

ResetServiceSettingRequest

func (c *SSM) ResetServiceSettingRequest(input *ResetServiceSettingInput) (req *request.Request, output *ResetServiceSettingOutput)

ResetServiceSettingRequest generates a "aws/request.Request" representing the client's request for the ResetServiceSetting operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetServiceSetting for more information on using the ResetServiceSetting API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetServiceSettingRequest method. req, resp := client.ResetServiceSettingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSetting

ResetServiceSettingWithContext

func (c *SSM) ResetServiceSettingWithContext(ctx aws.Context, input *ResetServiceSettingInput, opts ...request.Option) (*ResetServiceSettingOutput, error)

ResetServiceSettingWithContext is the same as ResetServiceSetting with the addition of the ability to pass a context and additional request options.

See ResetServiceSetting for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ResumeSession

func (c *SSM) ResumeSession(input *ResumeSessionInput) (*ResumeSessionOutput, error)

ResumeSession API operation for Amazon Simple Systems Manager (SSM).

Reconnects a session to an instance after it has been disconnected. Connections can be resumed for disconnected sessions, but not terminated sessions.

This command is primarily for use by client machines to automatically reconnect during intermittent network issues. It is not intended for any other use.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation ResumeSession for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSession

ResumeSessionRequest

func (c *SSM) ResumeSessionRequest(input *ResumeSessionInput) (req *request.Request, output *ResumeSessionOutput)

ResumeSessionRequest generates a "aws/request.Request" representing the client's request for the ResumeSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResumeSession for more information on using the ResumeSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResumeSessionRequest method. req, resp := client.ResumeSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSession

ResumeSessionWithContext

func (c *SSM) ResumeSessionWithContext(ctx aws.Context, input *ResumeSessionInput, opts ...request.Option) (*ResumeSessionOutput, error)

ResumeSessionWithContext is the same as ResumeSession with the addition of the ability to pass a context and additional request options.

See ResumeSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

SendAutomationSignal

func (c *SSM) SendAutomationSignal(input *SendAutomationSignalInput) (*SendAutomationSignalOutput, error)

SendAutomationSignal API operation for Amazon Simple Systems Manager (SSM).

Sends a signal to an Automation execution to change the current behavior or status of the execution.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation SendAutomationSignal for usage and error information.

Returned Error Codes:

  • ErrCodeAutomationExecutionNotFoundException "AutomationExecutionNotFoundException" There is no automation execution information for the requested automation execution ID.

  • ErrCodeAutomationStepNotFoundException "AutomationStepNotFoundException" The specified step name and execution ID don't exist. Verify the information and try again.

  • ErrCodeInvalidAutomationSignalException "InvalidAutomationSignalException" The signal is not valid for the current Automation execution.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal

SendAutomationSignalRequest

func (c *SSM) SendAutomationSignalRequest(input *SendAutomationSignalInput) (req *request.Request, output *SendAutomationSignalOutput)

SendAutomationSignalRequest generates a "aws/request.Request" representing the client's request for the SendAutomationSignal operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendAutomationSignal for more information on using the SendAutomationSignal API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendAutomationSignalRequest method. req, resp := client.SendAutomationSignalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal

SendAutomationSignalWithContext

func (c *SSM) SendAutomationSignalWithContext(ctx aws.Context, input *SendAutomationSignalInput, opts ...request.Option) (*SendAutomationSignalOutput, error)

SendAutomationSignalWithContext is the same as SendAutomationSignal with the addition of the ability to pass a context and additional request options.

See SendAutomationSignal for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

SendCommand

func (c *SSM) SendCommand(input *SendCommandInput) (*SendCommandOutput, error)

SendCommand API operation for Amazon Simple Systems Manager (SSM).

Executes commands on one or more managed instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation SendCommand for usage and error information.

Returned Error Codes:

  • ErrCodeDuplicateInstanceId "DuplicateInstanceId" You cannot specify an instance ID in more than one association.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

  • ErrCodeInvalidOutputFolder "InvalidOutputFolder" The S3 bucket does not exist.

  • ErrCodeInvalidParameters "InvalidParameters" You must specify values for all required parameters in the Systems Manager document. You can only supply values to parameters defined in the Systems Manager document.

  • ErrCodeUnsupportedPlatformType "UnsupportedPlatformType" The document does not support the platform type of the given instance ID(s). For example, you sent an document for a Windows instance to a Linux instance.

  • ErrCodeMaxDocumentSizeExceeded "MaxDocumentSizeExceeded" The size limit of a document is 64 KB.

  • ErrCodeInvalidRole "InvalidRole" The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about configuring the IAM role for Run Command notifications, see Configuring Amazon SNS Notifications for Run Command (https://docs.aws.amazon.com/systems-manager/latest/userguide/rc-sns-notifications.html) in the AWS Systems Manager User Guide.

  • ErrCodeInvalidNotificationConfig "InvalidNotificationConfig" One or more configuration items is not valid. Verify that a valid Amazon Resource Name (ARN) was provided for an Amazon SNS topic.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand

SendCommandRequest

func (c *SSM) SendCommandRequest(input *SendCommandInput) (req *request.Request, output *SendCommandOutput)

SendCommandRequest generates a "aws/request.Request" representing the client's request for the SendCommand operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendCommand for more information on using the SendCommand API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendCommandRequest method. req, resp := client.SendCommandRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand

SendCommandWithContext

func (c *SSM) SendCommandWithContext(ctx aws.Context, input *SendCommandInput, opts ...request.Option) (*SendCommandOutput, error)

SendCommandWithContext is the same as SendCommand with the addition of the ability to pass a context and additional request options.

See SendCommand for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartAssociationsOnce

func (c *SSM) StartAssociationsOnce(input *StartAssociationsOnceInput) (*StartAssociationsOnceOutput, error)

StartAssociationsOnce API operation for Amazon Simple Systems Manager (SSM).

Use this API action to execute an association immediately and only one time. This action can be helpful when troubleshooting associations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation StartAssociationsOnce for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidAssociation "InvalidAssociation" The association is not valid or does not exist.

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAssociationsOnce

StartAssociationsOnceRequest

func (c *SSM) StartAssociationsOnceRequest(input *StartAssociationsOnceInput) (req *request.Request, output *StartAssociationsOnceOutput)

StartAssociationsOnceRequest generates a "aws/request.Request" representing the client's request for the StartAssociationsOnce operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartAssociationsOnce for more information on using the StartAssociationsOnce API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartAssociationsOnceRequest method. req, resp := client.StartAssociationsOnceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAssociationsOnce

StartAssociationsOnceWithContext

func (c *SSM) StartAssociationsOnceWithContext(ctx aws.Context, input *StartAssociationsOnceInput, opts ...request.Option) (*StartAssociationsOnceOutput, error)

StartAssociationsOnceWithContext is the same as StartAssociationsOnce with the addition of the ability to pass a context and additional request options.

See StartAssociationsOnce for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartAutomationExecution

func (c *SSM) StartAutomationExecution(input *StartAutomationExecutionInput) (*StartAutomationExecutionOutput, error)

StartAutomationExecution API operation for Amazon Simple Systems Manager (SSM).

Initiates execution of an Automation document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation StartAutomationExecution for usage and error information.

Returned Error Codes:

  • ErrCodeAutomationDefinitionNotFoundException "AutomationDefinitionNotFoundException" An Automation document with the specified name could not be found.

  • ErrCodeInvalidAutomationExecutionParametersException "InvalidAutomationExecutionParametersException" The supplied parameters for invoking the specified Automation document are incorrect. For example, they may not match the set of parameters permitted for the specified Automation document.

  • ErrCodeAutomationExecutionLimitExceededException "AutomationExecutionLimitExceededException" The number of simultaneously running Automation executions exceeded the allowable limit.

  • ErrCodeAutomationDefinitionVersionNotFoundException "AutomationDefinitionVersionNotFoundException" An Automation document with the specified name and version could not be found.

  • ErrCodeIdempotentParameterMismatch "IdempotentParameterMismatch" Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.

  • ErrCodeInvalidTarget "InvalidTarget" The target is not valid or does not exist. It might not be configured for EC2 Systems Manager or you might not have permission to perform the operation.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution

StartAutomationExecutionRequest

func (c *SSM) StartAutomationExecutionRequest(input *StartAutomationExecutionInput) (req *request.Request, output *StartAutomationExecutionOutput)

StartAutomationExecutionRequest generates a "aws/request.Request" representing the client's request for the StartAutomationExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartAutomationExecution for more information on using the StartAutomationExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartAutomationExecutionRequest method. req, resp := client.StartAutomationExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution

StartAutomationExecutionWithContext

func (c *SSM) StartAutomationExecutionWithContext(ctx aws.Context, input *StartAutomationExecutionInput, opts ...request.Option) (*StartAutomationExecutionOutput, error)

StartAutomationExecutionWithContext is the same as StartAutomationExecution with the addition of the ability to pass a context and additional request options.

See StartAutomationExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartSession

func (c *SSM) StartSession(input *StartSessionInput) (*StartSessionOutput, error)

StartSession API operation for Amazon Simple Systems Manager (SSM).

Initiates a connection to a target (for example, an instance) for a Session Manager session. Returns a URL and token that can be used to open a WebSocket connection for sending input and receiving outputs.

AWS CLI usage: start-session is an interactive command that requires the Session Manager plugin to be installed on the client machine making the call. For information, see Install the Session Manager Plugin for the AWS CLI (https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html) in the AWS Systems Manager User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation StartSession for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSession

StartSessionRequest

func (c *SSM) StartSessionRequest(input *StartSessionInput) (req *request.Request, output *StartSessionOutput)

StartSessionRequest generates a "aws/request.Request" representing the client's request for the StartSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartSession for more information on using the StartSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartSessionRequest method. req, resp := client.StartSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSession

StartSessionWithContext

func (c *SSM) StartSessionWithContext(ctx aws.Context, input *StartSessionInput, opts ...request.Option) (*StartSessionOutput, error)

StartSessionWithContext is the same as StartSession with the addition of the ability to pass a context and additional request options.

See StartSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StopAutomationExecution

func (c *SSM) StopAutomationExecution(input *StopAutomationExecutionInput) (*StopAutomationExecutionOutput, error)

StopAutomationExecution API operation for Amazon Simple Systems Manager (SSM).

Stop an Automation that is currently executing.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation StopAutomationExecution for usage and error information.

Returned Error Codes:

  • ErrCodeAutomationExecutionNotFoundException "AutomationExecutionNotFoundException" There is no automation execution information for the requested automation execution ID.

  • ErrCodeInvalidAutomationStatusUpdateException "InvalidAutomationStatusUpdateException" The specified update status operation is not valid.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution

StopAutomationExecutionRequest

func (c *SSM) StopAutomationExecutionRequest(input *StopAutomationExecutionInput) (req *request.Request, output *StopAutomationExecutionOutput)

StopAutomationExecutionRequest generates a "aws/request.Request" representing the client's request for the StopAutomationExecution operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopAutomationExecution for more information on using the StopAutomationExecution API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopAutomationExecutionRequest method. req, resp := client.StopAutomationExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution

StopAutomationExecutionWithContext

func (c *SSM) StopAutomationExecutionWithContext(ctx aws.Context, input *StopAutomationExecutionInput, opts ...request.Option) (*StopAutomationExecutionOutput, error)

StopAutomationExecutionWithContext is the same as StopAutomationExecution with the addition of the ability to pass a context and additional request options.

See StopAutomationExecution for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TerminateSession

func (c *SSM) TerminateSession(input *TerminateSessionInput) (*TerminateSessionOutput, error)

TerminateSession API operation for Amazon Simple Systems Manager (SSM).

Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the instance. A terminated session cannot be resumed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation TerminateSession for usage and error information.

Returned Error Codes:

  • ErrCodeDoesNotExistException "DoesNotExistException" Error returned when the ID specified for a resource, such as a Maintenance Window or Patch baseline, doesn't exist.

For information about resource limits in Systems Manager, see AWS Systems Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSession

TerminateSessionRequest

func (c *SSM) TerminateSessionRequest(input *TerminateSessionInput) (req *request.Request, output *TerminateSessionOutput)

TerminateSessionRequest generates a "aws/request.Request" representing the client's request for the TerminateSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TerminateSession for more information on using the TerminateSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TerminateSessionRequest method. req, resp := client.TerminateSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSession

TerminateSessionWithContext

func (c *SSM) TerminateSessionWithContext(ctx aws.Context, input *TerminateSessionInput, opts ...request.Option) (*TerminateSessionOutput, error)

TerminateSessionWithContext is the same as TerminateSession with the addition of the ability to pass a context and additional request options.

See TerminateSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAssociation

func (c *SSM) UpdateAssociation(input *UpdateAssociationInput) (*UpdateAssociationOutput, error)

UpdateAssociation API operation for Amazon Simple Systems Manager (SSM).

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon S3 output.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation UpdateAssociation for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidSchedule "InvalidSchedule" The schedule is invalid. Verify your cron or rate expression and try again.

  • ErrCodeInvalidParameters "InvalidParameters" You must specify values for all required parameters in the Systems Manager document. You can only supply values to parameters defined in the Systems Manager document.

  • ErrCodeInvalidOutputLocation "InvalidOutputLocation" The output location is not valid or does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

  • ErrCodeInvalidUpdate "InvalidUpdate" The update is not valid.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidTarget "InvalidTarget" The target is not valid or does not exist. It might not be configured for EC2 Systems Manager or you might not have permission to perform the operation.

  • ErrCodeInvalidAssociationVersion "InvalidAssociationVersion" The version you specified is not valid. Use ListAssociationVersions to view all versions of an association according to the association ID. Or, use the

$LATEST parameter to view the latest version of the association.
  • ErrCodeAssociationVersionLimitExceeded "AssociationVersionLimitExceeded" You have reached the maximum number versions allowed for an association. Each association has a limit of 1,000 versions.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation

UpdateAssociationRequest

func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *request.Request, output *UpdateAssociationOutput)

UpdateAssociationRequest generates a "aws/request.Request" representing the client's request for the UpdateAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAssociation for more information on using the UpdateAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAssociationRequest method. req, resp := client.UpdateAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation

UpdateAssociationStatus

func (c *SSM) UpdateAssociationStatus(input *UpdateAssociationStatusInput) (*UpdateAssociationStatusOutput, error)

UpdateAssociationStatus API operation for Amazon Simple Systems Manager (SSM).

Updates the status of the Systems Manager document associated with the specified instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation UpdateAssociationStatus for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidInstanceId "InvalidInstanceId" The following problems can cause this exception:

You do not have permission to access the instance. SSM Agent is not running. On managed instances and Linux instances, verify that the SSM Agent is running. On EC2 Windows instances, verify that the EC2Config service is running. SSM Agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling SSM Agent or EC2Config service. The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. Invalid states are: Shutting-down and Terminated.
  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeAssociationDoesNotExist "AssociationDoesNotExist" The specified association does not exist.

  • ErrCodeStatusUnchanged "StatusUnchanged" The updated status is the same as the current status.

  • ErrCodeTooManyUpdates "TooManyUpdates" There are concurrent updates for a resource that supports one update at a time.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus

UpdateAssociationStatusRequest

func (c *SSM) UpdateAssociationStatusRequest(input *UpdateAssociationStatusInput) (req *request.Request, output *UpdateAssociationStatusOutput)

UpdateAssociationStatusRequest generates a "aws/request.Request" representing the client's request for the UpdateAssociationStatus operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAssociationStatus for more information on using the UpdateAssociationStatus API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAssociationStatusRequest method. req, resp := client.UpdateAssociationStatusRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus

UpdateAssociationStatusWithContext

func (c *SSM) UpdateAssociationStatusWithContext(ctx aws.Context, input *UpdateAssociationStatusInput, opts ...request.Option) (*UpdateAssociationStatusOutput, error)

UpdateAssociationStatusWithContext is the same as UpdateAssociationStatus with the addition of the ability to pass a context and additional request options.

See UpdateAssociationStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAssociationWithContext

func (c *SSM) UpdateAssociationWithContext(ctx aws.Context, input *UpdateAssociationInput, opts ...request.Option) (*UpdateAssociationOutput, error)

UpdateAssociationWithContext is the same as UpdateAssociation with the addition of the ability to pass a context and additional request options.

See UpdateAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDocument

func (c *SSM) UpdateDocument(input *UpdateDocumentInput) (*UpdateDocumentOutput, error)

UpdateDocument API operation for Amazon Simple Systems Manager (SSM).

The document you want to update.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation UpdateDocument for usage and error information.

Returned Error Codes:

  • ErrCodeMaxDocumentSizeExceeded "MaxDocumentSizeExceeded" The size limit of a document is 64 KB.

  • ErrCodeDocumentVersionLimitExceeded "DocumentVersionLimitExceeded" The document has too many versions. Delete one or more document versions and try again.

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeDuplicateDocumentContent "DuplicateDocumentContent" The content of the association document matches another document. Change the content of the document and try again.

  • ErrCodeDuplicateDocumentVersionName "DuplicateDocumentVersionName" The version name has already been used in this document. Specify a different version name, and then try again.

  • ErrCodeInvalidDocumentContent "InvalidDocumentContent" The content for the document is not valid.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

  • ErrCodeInvalidDocumentSchemaVersion "InvalidDocumentSchemaVersion" The version of the document schema is not supported.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentOperation "InvalidDocumentOperation" You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument

UpdateDocumentDefaultVersion

func (c *SSM) UpdateDocumentDefaultVersion(input *UpdateDocumentDefaultVersionInput) (*UpdateDocumentDefaultVersionOutput, error)

UpdateDocumentDefaultVersion API operation for Amazon Simple Systems Manager (SSM).

Set the default version of a document.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s API operation UpdateDocumentDefaultVersion for usage and error information.

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An error occurred on the server side.

  • ErrCodeInvalidDocument "InvalidDocument" The specified document does not exist.

  • ErrCodeInvalidDocumentVersion "InvalidDocumentVersion" The document version is not valid or does not exist.

  • ErrCodeInvalidDocumentSchemaVersion "InvalidDocumentSchemaVersion" The version of the document schema is not supported.

See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion

UpdateDocumentDefaultVersionRequest

func (c *SSM) UpdateDocumentDefaultVersionRequest(input *UpdateDocumentDefaultVersionInput) (req *request.Request, output *UpdateDocumentDefaultVersionOutput)

UpdateDocumentDefaultVersionRequest generates a "aws/request.Request" representing the client's request for the UpdateDocum