Class SsmException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Ssm\Exception\SsmException
- Namespace: Aws\Ssm\Exception
- Located at Ssm/Exception/SsmException.php
Amazon EC2 Simple Systems Manager exception.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AlreadyExistsException
[ 'Message' => '<string>', ]
Description
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.
Members
AssociatedInstances
[ ]
Description
You must disassociate a document from all managed nodes before you can delete it.
Members
AssociationAlreadyExists
[ ]
Description
The specified association already exists.
Members
AssociationDoesNotExist
[ 'Message' => '<string>', ]
AssociationExecutionDoesNotExist
[ 'Message' => '<string>', ]
Description
The specified execution ID doesn't exist. Verify the ID number and try again.
Members
AssociationLimitExceeded
[ ]
Description
You can have at most 2,000 active associations.
Members
AssociationVersionLimitExceeded
[ 'Message' => '<string>', ]
Description
You have reached the maximum number versions allowed for an association. Each association has a limit of 1,000 versions.
Members
AutomationDefinitionNotApprovedException
[ 'Message' => '<string>', ]
Description
Indicates that the Change Manager change template used in the change request was rejected or is still in a pending state.
Members
AutomationDefinitionNotFoundException
[ 'Message' => '<string>', ]
Description
An Automation runbook with the specified name couldn't be found.
Members
AutomationDefinitionVersionNotFoundException
[ 'Message' => '<string>', ]
Description
An Automation runbook with the specified name and version couldn't be found.
Members
AutomationExecutionLimitExceededException
[ 'Message' => '<string>', ]
Description
The number of simultaneously running Automation executions exceeded the allowable limit.
Members
AutomationExecutionNotFoundException
[ 'Message' => '<string>', ]
Description
There is no automation execution information for the requested automation execution ID.
Members
AutomationStepNotFoundException
[ 'Message' => '<string>', ]
Description
The specified step name and execution ID don't exist. Verify the information and try again.
Members
ComplianceTypeCountLimitExceededException
[ 'Message' => '<string>', ]
Description
You specified too many custom compliance types. You can specify a maximum of 10 different types.
Members
CustomSchemaCountLimitExceededException
[ 'Message' => '<string>', ]
Description
You have exceeded the limit for custom schemas. Delete one or more custom schemas and try again.
Members
DocumentAlreadyExists
[ 'Message' => '<string>', ]
DocumentLimitExceeded
[ 'Message' => '<string>', ]
DocumentPermissionLimit
[ 'Message' => '<string>', ]
Description
The document can't be shared with more Amazon Web Services 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 Amazon Web Services Support.
Members
DocumentVersionLimitExceeded
[ 'Message' => '<string>', ]
Description
The document has too many versions. Delete one or more document versions and try again.
Members
DoesNotExistException
[ 'Message' => '<string>', ]
Description
Error returned when the ID specified for a resource, such as a maintenance window or patch baseline, doesn't exist.
For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the Amazon Web Services General Reference.
Members
DuplicateDocumentContent
[ 'Message' => '<string>', ]
Description
The content of the association document matches another document. Change the content of the document and try again.
Members
DuplicateDocumentVersionName
[ 'Message' => '<string>', ]
Description
The version name has already been used in this document. Specify a different version name, and then try again.
Members
DuplicateInstanceId
[ ]
Description
You can't specify a managed node ID in more than one association.
Members
FeatureNotAvailableException
[ 'Message' => '<string>', ]
Description
You attempted to register a LAMBDA
or STEP_FUNCTIONS
task in a region where the corresponding service isn't available.
Members
HierarchyLevelLimitExceededException
[ 'message' => '<string>', ]
Description
A hierarchy can have a maximum of 15 levels. For more information, see Requirements and constraints for parameter names in the Amazon Web Services Systems Manager User Guide.
Members
- message
-
- Type: string
A hierarchy can have a maximum of 15 levels. For more information, see Requirements and constraints for parameter names in the Amazon Web Services Systems Manager User Guide.
HierarchyTypeMismatchException
[ 'message' => '<string>', ]
Description
Parameter Store doesn't 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.
Members
IdempotentParameterMismatch
[ 'Message' => '<string>', ]
Description
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.
Members
IncompatiblePolicyException
[ 'message' => '<string>', ]
Description
There is a conflict in the policies specified for this parameter. You can't, for example, specify two Expiration policies for a parameter. Review your policies, and try again.
Members
InternalServerError
[ 'Message' => '<string>', ]
InvalidActivation
[ 'Message' => '<string>', ]
Description
The activation isn't valid. The activation might have been deleted, or the ActivationId and the ActivationCode don't match.
Members
InvalidActivationId
[ 'Message' => '<string>', ]
Description
The activation ID isn't valid. Verify the you entered the correct ActivationId or ActivationCode and try again.
Members
InvalidAggregatorException
[ 'Message' => '<string>', ]
Description
The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a valid inventory type such as AWS:Application
or AWS:InstanceInformation
.
Members
InvalidAllowedPatternException
[ 'message' => '<string>', ]
Description
The request doesn't meet the regular expression requirement.
Members
InvalidAssociation
[ 'Message' => '<string>', ]
InvalidAssociationVersion
[ 'Message' => '<string>', ]
Description
The version you specified isn't 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.
Members
InvalidAutomationExecutionParametersException
[ 'Message' => '<string>', ]
Description
The supplied parameters for invoking the specified Automation runbook are incorrect. For example, they may not match the set of parameters permitted for the specified Automation document.
Members
InvalidAutomationSignalException
[ 'Message' => '<string>', ]
Description
The signal isn't valid for the current Automation execution.
Members
InvalidAutomationStatusUpdateException
[ 'Message' => '<string>', ]
InvalidCommandId
[ ]
Description
The specified command ID isn't valid. Verify the ID and try again.
Members
InvalidDeleteInventoryParametersException
[ 'Message' => '<string>', ]
Description
One or more of the parameters specified for the delete operation isn't valid. Verify all parameters and try again.
Members
InvalidDeletionIdException
[ 'Message' => '<string>', ]
Description
The ID specified for the delete operation doesn't exist or isn't valid. Verify the ID and try again.
Members
InvalidDocument
[ 'Message' => '<string>', ]
Description
The specified SSM document doesn't exist.
Members
InvalidDocumentContent
[ 'Message' => '<string>', ]
Description
The content for the document isn't valid.
Members
InvalidDocumentOperation
[ 'Message' => '<string>', ]
Description
You attempted to delete a document while it is still shared. You must stop sharing the document before you can delete it.
Members
InvalidDocumentSchemaVersion
[ 'Message' => '<string>', ]
InvalidDocumentType
[ 'Message' => '<string>', ]
Description
The SSM document type isn't valid. Valid document types are described in the DocumentType
property.
Members
InvalidDocumentVersion
[ 'Message' => '<string>', ]
InvalidFilter
[ 'Message' => '<string>', ]
Description
The filter name isn't valid. Verify the you entered the correct name and try again.
Members
InvalidFilterKey
[ ]
Description
The specified key isn't valid.
Members
InvalidFilterOption
[ 'message' => '<string>', ]
Description
The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path filter, valid options are Recursive and OneLevel.
Members
InvalidFilterValue
[ 'Message' => '<string>', ]
Description
The filter value isn't valid. Verify the value and try again.
Members
InvalidInstanceId
[ 'Message' => '<string>', ]
Description
The following problems can cause this exception:
-
You don't have permission to access the managed node.
-
Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is running.
-
SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.
-
The managed node isn't in valid state. Valid states are:
Running
,Pending
,Stopped
, andStopping
. Invalid states are:Shutting-down
andTerminated
.
Members
InvalidInstanceInformationFilterValue
[ 'message' => '<string>', ]
InvalidInventoryGroupException
[ 'Message' => '<string>', ]
InvalidInventoryItemContextException
[ 'Message' => '<string>', ]
Description
You specified invalid keys or values in the Context
attribute for InventoryItem
. Verify the keys and values, and try again.
Members
InvalidInventoryRequestException
[ 'Message' => '<string>', ]
InvalidItemContentException
[ 'Message' => '<string>', 'TypeName' => '<string>', ]
Description
One or more content items isn't valid.
Members
InvalidKeyId
[ 'message' => '<string>', ]
InvalidNextToken
[ 'Message' => '<string>', ]
InvalidNotificationConfig
[ 'Message' => '<string>', ]
Description
One or more configuration items isn't valid. Verify that a valid Amazon Resource Name (ARN) was provided for an Amazon Simple Notification Service topic.
Members
InvalidOptionException
[ 'Message' => '<string>', ]
Description
The delete inventory option specified isn't valid. Verify the option and try again.
Members
InvalidOutputFolder
[ ]
Description
The S3 bucket doesn't exist.
Members
InvalidOutputLocation
[ ]
Description
The output location isn't valid or doesn't exist.
Members
InvalidParameters
[ 'Message' => '<string>', ]
Description
You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM document). You can only supply values to parameters defined in the SSM document.
Members
InvalidPermissionType
[ 'Message' => '<string>', ]
Description
The permission type isn't supported. Share is the only supported permission type.
Members
InvalidPluginName
[ ]
Description
The plugin name isn't valid.
Members
InvalidPolicyAttributeException
[ 'message' => '<string>', ]
InvalidPolicyTypeException
[ 'message' => '<string>', ]
Description
The policy type isn't supported. Parameter Store supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
Members
InvalidResourceId
[ ]
Description
The resource ID isn't valid. Verify that you entered the correct ID and try again.
Members
InvalidResourceType
[ ]
Description
The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, the instance must be a registered managed node.
Members
InvalidResultAttributeException
[ 'Message' => '<string>', ]
InvalidRole
[ 'Message' => '<string>', ]
Description
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 in the Amazon Web Services Systems Manager User Guide.
Members
InvalidSchedule
[ 'Message' => '<string>', ]
Description
The schedule is invalid. Verify your cron or rate expression and try again.
Members
InvalidTarget
[ 'Message' => '<string>', ]
Description
The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might not have permission to perform the operation.
Members
InvalidTargetMaps
[ 'Message' => '<string>', ]
InvalidTypeNameException
[ 'Message' => '<string>', ]
InvalidUpdate
[ 'Message' => '<string>', ]
InvocationDoesNotExist
[ ]
Description
The command ID and managed node ID you specified didn't match any invocations. Verify the command ID and the managed node ID and try again.
Members
ItemContentMismatchException
[ 'Message' => '<string>', 'TypeName' => '<string>', ]
Description
The inventory item has invalid content.
Members
ItemSizeLimitExceededException
[ 'Message' => '<string>', 'TypeName' => '<string>', ]
Description
The inventory item size has exceeded the size limit.
Members
MaxDocumentSizeExceeded
[ 'Message' => '<string>', ]
OpsItemAlreadyExistsException
[ 'Message' => '<string>', 'OpsItemId' => '<string>', ]
OpsItemInvalidParameterException
[ 'Message' => '<string>', 'ParameterNames' => ['<string>', ...], ]
Description
A specified parameter argument isn't valid. Verify the available arguments and try again.
Members
OpsItemLimitExceededException
[ 'Limit' => <integer>, 'LimitType' => '<string>', 'Message' => '<string>', 'ResourceTypes' => ['<string>', ...], ]
Description
The request caused OpsItems to exceed one or more quotas. For information about OpsItem quotas, see What are the resource limits for OpsCenter?.
Members
OpsItemNotFoundException
[ 'Message' => '<string>', ]
Description
The specified OpsItem ID doesn't exist. Verify the ID and try again.
Members
OpsItemRelatedItemAlreadyExistsException
[ 'Message' => '<string>', 'OpsItemId' => '<string>', 'ResourceUri' => '<string>', ]
Description
The Amazon Resource Name (ARN) is already associated with the OpsItem.
Members
OpsItemRelatedItemAssociationNotFoundException
[ 'Message' => '<string>', ]
Description
The association wasn't found using the parameters you specified in the call. Verify the information and try again.
Members
OpsMetadataAlreadyExistsException
[ 'message' => '<string>', ]
Description
An OpsMetadata object already exists for the selected resource.
Members
OpsMetadataInvalidArgumentException
[ 'message' => '<string>', ]
OpsMetadataKeyLimitExceededException
[ 'message' => '<string>', ]
Description
The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to an application in Application Manager.
Members
OpsMetadataLimitExceededException
[ 'message' => '<string>', ]
Description
Your account reached the maximum number of OpsMetadata objects allowed by Application Manager. The maximum is 200 OpsMetadata objects. Delete one or more OpsMetadata object and try again.
Members
OpsMetadataNotFoundException
[ 'message' => '<string>', ]
OpsMetadataTooManyUpdatesException
[ 'message' => '<string>', ]
Description
The system is processing too many concurrent updates. Wait a few moments and try again.
Members
ParameterAlreadyExists
[ 'message' => '<string>', ]
Description
The parameter already exists. You can't create duplicate parameters.
Members
ParameterLimitExceeded
[ 'message' => '<string>', ]
Description
You have exceeded the number of parameters for this Amazon Web Services account. Delete one or more parameters and try again.
Members
ParameterMaxVersionLimitExceeded
[ 'message' => '<string>', ]
Description
Parameter Store retains the 100 most recently created versions of a parameter. After this number of versions has been created, Parameter Store deletes the oldest version when a new one is created. However, if the oldest version has a label attached to it, Parameter Store won't delete the version and instead presents this error message:
An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter operation: You attempted to create a new version of parameter-name by calling the PutParameter API with the overwrite flag. Version version-number, the oldest version, can't be deleted because it has a label associated with it. Move the label to another version of the parameter, and try again.
This safeguard is to prevent parameter versions with mission critical labels assigned to them from being deleted. To continue creating new parameters, first move the label from the oldest version of the parameter to a newer one for use in your operations. For information about moving parameter labels, see Move a parameter label (console) or Move a parameter label (CLI) in the Amazon Web Services Systems Manager User Guide.
Members
ParameterNotFound
[ 'message' => '<string>', ]
Description
The parameter couldn't be found. Verify the name and try again.
Members
ParameterPatternMismatchException
[ 'message' => '<string>', ]
Description
The parameter name isn't valid.
Members
ParameterVersionLabelLimitExceeded
[ 'message' => '<string>', ]
ParameterVersionNotFound
[ 'message' => '<string>', ]
Description
The specified parameter version wasn't found. Verify the parameter name and version, and try again.
Members
PoliciesLimitExceededException
[ 'message' => '<string>', ]
Description
You specified more than the maximum number of allowed policies for the parameter. The maximum is 10.
Members
ResourceDataSyncAlreadyExistsException
[ 'SyncName' => '<string>', ]
ResourceDataSyncConflictException
[ 'Message' => '<string>', ]
Description
Another UpdateResourceDataSync
request is being processed. Wait a few minutes and try again.
Members
ResourceDataSyncCountExceededException
[ 'Message' => '<string>', ]
ResourceDataSyncInvalidConfigurationException
[ 'Message' => '<string>', ]
ResourceDataSyncNotFoundException
[ 'Message' => '<string>', 'SyncName' => '<string>', 'SyncType' => '<string>', ]
Description
The specified sync name wasn't found.
Members
ResourceInUseException
[ 'Message' => '<string>', ]
Description
Error returned if an attempt is made to delete a patch baseline that is registered for a patch group.
Members
ResourceLimitExceededException
[ 'Message' => '<string>', ]
Description
Error returned when the caller has exceeded the default resource quotas. For example, too many maintenance windows or patch baselines have been created.
For information about resource quotas in Systems Manager, see Systems Manager service quotas in the Amazon Web Services General Reference.
Members
ServiceSettingNotFound
[ 'Message' => '<string>', ]
Description
The specified service setting wasn't found. Either the service name or the setting hasn't been provisioned by the Amazon Web Services service team.
Members
StatusUnchanged
[ ]
Description
The updated status is the same as the current status.
Members
SubTypeCountLimitExceededException
[ 'Message' => '<string>', ]
Description
The sub-type count exceeded the limit for the inventory type.
Members
TargetInUseException
[ 'Message' => '<string>', ]
Description
You specified the Safe
option for the DeregisterTargetFromMaintenanceWindow operation, but the target is still referenced in a task.
Members
TargetNotConnected
[ 'Message' => '<string>', ]
Description
The specified target managed node for the session isn't fully configured for use with Session Manager. For more information, see Getting started with Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you attempt to start a session on a managed node that is located in a different account or Region
Members
TooManyTagsError
[ ]
Description
The Targets
parameter includes too many tags. Remove one or more tags and try the command again.
Members
TooManyUpdates
[ 'Message' => '<string>', ]
Description
There are concurrent updates for a resource that supports one update at a time.
Members
TotalSizeLimitExceededException
[ 'Message' => '<string>', ]
Description
The size of inventory data has exceeded the total size limit for the resource.
Members
UnsupportedCalendarException
[ 'Message' => '<string>', ]
Description
The calendar entry contained in the specified SSM document isn't supported.
Members
UnsupportedFeatureRequiredException
[ 'Message' => '<string>', ]
Description
Patching for applications released by Microsoft is only available on EC2 instances and advanced instances. To patch applications released by Microsoft on on-premises servers and VMs, you must enable advanced instances. For more information, see Enabling the advanced-instances tier in the Amazon Web Services Systems Manager User Guide.
Members
UnsupportedInventoryItemContextException
[ 'Message' => '<string>', 'TypeName' => '<string>', ]
Description
The Context
attribute that you specified for the InventoryItem
isn't allowed for this inventory type. You can only use the Context
attribute with inventory types like AWS:ComplianceItem
.
Members
UnsupportedInventorySchemaVersionException
[ 'Message' => '<string>', ]
Description
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.
Members
UnsupportedOperatingSystem
[ 'Message' => '<string>', ]
Description
The operating systems you specified isn't supported, or the operation isn't supported for the operating system.
Members
UnsupportedParameterType
[ 'message' => '<string>', ]
UnsupportedPlatformType
[ 'Message' => '<string>', ]