AWS SDK Version 3 for .NET
API Reference

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

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon S3 output.

Note:

For PCL this operation is only available in asynchronous form. Please refer to UpdateAssociationAsync.

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

Syntax

C#
public virtual UpdateAssociationResponse UpdateAssociation(
         UpdateAssociationRequest request
)
Parameters
request
Type: Amazon.SimpleSystemsManagement.Model.UpdateAssociationRequest

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

Return Value
The response from the UpdateAssociation service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
AssociationDoesNotExistException The specified association does not exist.
AssociationVersionLimitExceededException You have reached the maximum number versions allowed for an association. Each association has a limit of 1,000 versions.
InternalServerErrorException An error occurred on the server side.
InvalidAssociationVersionException 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.
InvalidDocumentException The specified document does not exist.
InvalidDocumentVersionException The document version is not valid or does not exist.
InvalidOutputLocationException The output location is not valid or does not exist.
InvalidParametersException 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.
InvalidScheduleException The schedule is invalid. Verify your cron or rate expression and try again.
InvalidTargetException 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.
InvalidUpdateException The update is not valid.
TooManyUpdatesException There are concurrent updates for a resource that supports one update at a time.

Version Information

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also