Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.CloudControl.Types
Description
Synopsis
- defaultService :: Service
- _AlreadyExistsException :: AsError a => Fold a ServiceError
- _ClientTokenConflictException :: AsError a => Fold a ServiceError
- _ConcurrentModificationException :: AsError a => Fold a ServiceError
- _ConcurrentOperationException :: AsError a => Fold a ServiceError
- _GeneralServiceException :: AsError a => Fold a ServiceError
- _HandlerFailureException :: AsError a => Fold a ServiceError
- _HandlerInternalFailureException :: AsError a => Fold a ServiceError
- _InvalidCredentialsException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _NetworkFailureException :: AsError a => Fold a ServiceError
- _NotStabilizedException :: AsError a => Fold a ServiceError
- _NotUpdatableException :: AsError a => Fold a ServiceError
- _PrivateTypeException :: AsError a => Fold a ServiceError
- _RequestTokenNotFoundException :: AsError a => Fold a ServiceError
- _ResourceConflictException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceInternalErrorException :: AsError a => Fold a ServiceError
- _ServiceLimitExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _TypeNotFoundException :: AsError a => Fold a ServiceError
- _UnsupportedActionException :: AsError a => Fold a ServiceError
- newtype HandlerErrorCode where
- HandlerErrorCode' { }
- pattern HandlerErrorCode_AccessDenied :: HandlerErrorCode
- pattern HandlerErrorCode_AlreadyExists :: HandlerErrorCode
- pattern HandlerErrorCode_GeneralServiceException :: HandlerErrorCode
- pattern HandlerErrorCode_InternalFailure :: HandlerErrorCode
- pattern HandlerErrorCode_InvalidCredentials :: HandlerErrorCode
- pattern HandlerErrorCode_InvalidRequest :: HandlerErrorCode
- pattern HandlerErrorCode_NetworkFailure :: HandlerErrorCode
- pattern HandlerErrorCode_NotFound :: HandlerErrorCode
- pattern HandlerErrorCode_NotStabilized :: HandlerErrorCode
- pattern HandlerErrorCode_NotUpdatable :: HandlerErrorCode
- pattern HandlerErrorCode_ResourceConflict :: HandlerErrorCode
- pattern HandlerErrorCode_ServiceInternalError :: HandlerErrorCode
- pattern HandlerErrorCode_ServiceLimitExceeded :: HandlerErrorCode
- pattern HandlerErrorCode_ServiceTimeout :: HandlerErrorCode
- pattern HandlerErrorCode_Throttling :: HandlerErrorCode
- newtype Operation where
- Operation' { }
- pattern Operation_CREATE :: Operation
- pattern Operation_DELETE :: Operation
- pattern Operation_UPDATE :: Operation
- newtype OperationStatus where
- OperationStatus' { }
- pattern OperationStatus_CANCEL_COMPLETE :: OperationStatus
- pattern OperationStatus_CANCEL_IN_PROGRESS :: OperationStatus
- pattern OperationStatus_FAILED :: OperationStatus
- pattern OperationStatus_IN_PROGRESS :: OperationStatus
- pattern OperationStatus_PENDING :: OperationStatus
- pattern OperationStatus_SUCCESS :: OperationStatus
- data ProgressEvent = ProgressEvent' {}
- newProgressEvent :: ProgressEvent
- progressEvent_errorCode :: Lens' ProgressEvent (Maybe HandlerErrorCode)
- progressEvent_eventTime :: Lens' ProgressEvent (Maybe UTCTime)
- progressEvent_identifier :: Lens' ProgressEvent (Maybe Text)
- progressEvent_operation :: Lens' ProgressEvent (Maybe Operation)
- progressEvent_operationStatus :: Lens' ProgressEvent (Maybe OperationStatus)
- progressEvent_requestToken :: Lens' ProgressEvent (Maybe Text)
- progressEvent_resourceModel :: Lens' ProgressEvent (Maybe Text)
- progressEvent_retryAfter :: Lens' ProgressEvent (Maybe UTCTime)
- progressEvent_statusMessage :: Lens' ProgressEvent (Maybe Text)
- progressEvent_typeName :: Lens' ProgressEvent (Maybe Text)
- data ResourceDescription = ResourceDescription' {
- identifier :: Maybe Text
- properties :: Maybe (Sensitive Text)
- newResourceDescription :: ResourceDescription
- resourceDescription_identifier :: Lens' ResourceDescription (Maybe Text)
- resourceDescription_properties :: Lens' ResourceDescription (Maybe Text)
- data ResourceRequestStatusFilter = ResourceRequestStatusFilter' {}
- newResourceRequestStatusFilter :: ResourceRequestStatusFilter
- resourceRequestStatusFilter_operationStatuses :: Lens' ResourceRequestStatusFilter (Maybe [OperationStatus])
- resourceRequestStatusFilter_operations :: Lens' ResourceRequestStatusFilter (Maybe [Operation])
Service Configuration
defaultService :: Service Source #
API version 2021-09-30
of the Amazon Cloud Control API SDK configuration.
Errors
_AlreadyExistsException :: AsError a => Fold a ServiceError Source #
The resource with the name requested already exists.
_ClientTokenConflictException :: AsError a => Fold a ServiceError Source #
The specified client token has already been used in another resource request.
It's best practice for client tokens to be unique for each resource operation request. However, client token expire after 36 hours.
_ConcurrentModificationException :: AsError a => Fold a ServiceError Source #
The resource is currently being modified by another operation.
_ConcurrentOperationException :: AsError a => Fold a ServiceError Source #
Another resource operation is currently being performed on this resource.
_GeneralServiceException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that the downstream service generated an error that doesn't map to any other handler error code.
_HandlerFailureException :: AsError a => Fold a ServiceError Source #
The resource handler has failed without a returning a more specific error code. This can include timeouts.
_HandlerInternalFailureException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that an unexpected error occurred within the resource handler.
_InvalidCredentialsException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that the credentials provided by the user are invalid.
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that invalid input from the user has generated a generic exception.
_NetworkFailureException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that the request couldn't be completed due to networking issues, such as a failure to receive a response from the server.
_NotStabilizedException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that the downstream resource failed to complete all of its ready-state checks.
_NotUpdatableException :: AsError a => Fold a ServiceError Source #
One or more properties included in this resource operation are defined as create-only, and therefore can't be updated.
_PrivateTypeException :: AsError a => Fold a ServiceError Source #
Cloud Control API hasn't received a valid response from the resource handler, due to a configuration error. This includes issues such as the resource handler returning an invalid response, or timing out.
_RequestTokenNotFoundException :: AsError a => Fold a ServiceError Source #
A resource operation with the specified request token can't be found.
_ResourceConflictException :: AsError a => Fold a ServiceError Source #
The resource is temporarily unavailable to be acted upon. For example, if the resource is currently undergoing an operation and can't be acted upon until that operation is finished.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
A resource with the specified identifier can't be found.
_ServiceInternalErrorException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that the downstream service returned
an internal error, typically with a 5XX HTTP
status code.
_ServiceLimitExceededException :: AsError a => Fold a ServiceError Source #
The resource handler has returned that a non-transient resource limit was reached on the service side.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied due to request throttling.
_TypeNotFoundException :: AsError a => Fold a ServiceError Source #
The specified extension doesn't exist in the CloudFormation registry.
_UnsupportedActionException :: AsError a => Fold a ServiceError Source #
The specified resource doesn't support this resource operation.
HandlerErrorCode
newtype HandlerErrorCode Source #
Constructors
HandlerErrorCode' | |
Fields |
Bundled Patterns
pattern HandlerErrorCode_AccessDenied :: HandlerErrorCode | |
pattern HandlerErrorCode_AlreadyExists :: HandlerErrorCode | |
pattern HandlerErrorCode_GeneralServiceException :: HandlerErrorCode | |
pattern HandlerErrorCode_InternalFailure :: HandlerErrorCode | |
pattern HandlerErrorCode_InvalidCredentials :: HandlerErrorCode | |
pattern HandlerErrorCode_InvalidRequest :: HandlerErrorCode | |
pattern HandlerErrorCode_NetworkFailure :: HandlerErrorCode | |
pattern HandlerErrorCode_NotFound :: HandlerErrorCode | |
pattern HandlerErrorCode_NotStabilized :: HandlerErrorCode | |
pattern HandlerErrorCode_NotUpdatable :: HandlerErrorCode | |
pattern HandlerErrorCode_ResourceConflict :: HandlerErrorCode | |
pattern HandlerErrorCode_ServiceInternalError :: HandlerErrorCode | |
pattern HandlerErrorCode_ServiceLimitExceeded :: HandlerErrorCode | |
pattern HandlerErrorCode_ServiceTimeout :: HandlerErrorCode | |
pattern HandlerErrorCode_Throttling :: HandlerErrorCode |
Instances
Operation
Constructors
Operation' | |
Fields |
Bundled Patterns
pattern Operation_CREATE :: Operation | |
pattern Operation_DELETE :: Operation | |
pattern Operation_UPDATE :: Operation |
Instances
OperationStatus
newtype OperationStatus Source #
Constructors
OperationStatus' | |
Fields |
Bundled Patterns
pattern OperationStatus_CANCEL_COMPLETE :: OperationStatus | |
pattern OperationStatus_CANCEL_IN_PROGRESS :: OperationStatus | |
pattern OperationStatus_FAILED :: OperationStatus | |
pattern OperationStatus_IN_PROGRESS :: OperationStatus | |
pattern OperationStatus_PENDING :: OperationStatus | |
pattern OperationStatus_SUCCESS :: OperationStatus |
Instances
ProgressEvent
data ProgressEvent Source #
Represents the current status of a resource operation request. For more information, see Managing resource operation requests in the Amazon Web Services Cloud Control API User Guide.
See: newProgressEvent
smart constructor.
Constructors
ProgressEvent' | |
Fields
|
Instances
newProgressEvent :: ProgressEvent Source #
Create a value of ProgressEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:ProgressEvent'
, progressEvent_errorCode
- For requests with a status of FAILED
, the associated error code.
For error code definitions, see Handler error codes in the /CloudFormation Command Line Interface User Guide for Extension Development/.
$sel:eventTime:ProgressEvent'
, progressEvent_eventTime
- When the resource operation request was initiated.
$sel:identifier:ProgressEvent'
, progressEvent_identifier
- The primary identifier for the resource.
In some cases, the resource identifier may be available before the
resource operation has reached a status of SUCCESS
.
$sel:operation:ProgressEvent'
, progressEvent_operation
- The resource operation type.
$sel:operationStatus:ProgressEvent'
, progressEvent_operationStatus
- The current status of the resource operation request.
PENDING
: The resource operation hasn't yet started.IN_PROGRESS
: The resource operation is currently in progress.SUCCESS
: The resource operation has successfully completed.FAILED
: The resource operation has failed. Refer to the error code and status message for more information.CANCEL_IN_PROGRESS
: The resource operation is in the process of being canceled.CANCEL_COMPLETE
: The resource operation has been canceled.
$sel:requestToken:ProgressEvent'
, progressEvent_requestToken
- The unique token representing this resource operation request.
Use the RequestToken
with
GetResourceRequestStatus
to return the current status of a resource operation request.
$sel:resourceModel:ProgressEvent'
, progressEvent_resourceModel
- A JSON string containing the resource model, consisting of each resource
property and its current value.
$sel:retryAfter:ProgressEvent'
, progressEvent_retryAfter
- When to next request the status of this resource operation request.
$sel:statusMessage:ProgressEvent'
, progressEvent_statusMessage
- Any message explaining the current status.
$sel:typeName:ProgressEvent'
, progressEvent_typeName
- The name of the resource type used in the operation.
progressEvent_errorCode :: Lens' ProgressEvent (Maybe HandlerErrorCode) Source #
For requests with a status of FAILED
, the associated error code.
For error code definitions, see Handler error codes in the /CloudFormation Command Line Interface User Guide for Extension Development/.
progressEvent_eventTime :: Lens' ProgressEvent (Maybe UTCTime) Source #
When the resource operation request was initiated.
progressEvent_identifier :: Lens' ProgressEvent (Maybe Text) Source #
The primary identifier for the resource.
In some cases, the resource identifier may be available before the
resource operation has reached a status of SUCCESS
.
progressEvent_operation :: Lens' ProgressEvent (Maybe Operation) Source #
The resource operation type.
progressEvent_operationStatus :: Lens' ProgressEvent (Maybe OperationStatus) Source #
The current status of the resource operation request.
PENDING
: The resource operation hasn't yet started.IN_PROGRESS
: The resource operation is currently in progress.SUCCESS
: The resource operation has successfully completed.FAILED
: The resource operation has failed. Refer to the error code and status message for more information.CANCEL_IN_PROGRESS
: The resource operation is in the process of being canceled.CANCEL_COMPLETE
: The resource operation has been canceled.
progressEvent_requestToken :: Lens' ProgressEvent (Maybe Text) Source #
The unique token representing this resource operation request.
Use the RequestToken
with
GetResourceRequestStatus
to return the current status of a resource operation request.
progressEvent_resourceModel :: Lens' ProgressEvent (Maybe Text) Source #
A JSON string containing the resource model, consisting of each resource property and its current value.
progressEvent_retryAfter :: Lens' ProgressEvent (Maybe UTCTime) Source #
When to next request the status of this resource operation request.
progressEvent_statusMessage :: Lens' ProgressEvent (Maybe Text) Source #
Any message explaining the current status.
progressEvent_typeName :: Lens' ProgressEvent (Maybe Text) Source #
The name of the resource type used in the operation.
ResourceDescription
data ResourceDescription Source #
Represents information about a provisioned resource.
See: newResourceDescription
smart constructor.
Constructors
ResourceDescription' | |
Fields
|
Instances
newResourceDescription :: ResourceDescription Source #
Create a value of ResourceDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identifier:ResourceDescription'
, resourceDescription_identifier
- The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
$sel:properties:ResourceDescription'
, resourceDescription_properties
- A list of the resource properties and their current values.
resourceDescription_identifier :: Lens' ResourceDescription (Maybe Text) Source #
The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
resourceDescription_properties :: Lens' ResourceDescription (Maybe Text) Source #
A list of the resource properties and their current values.
ResourceRequestStatusFilter
data ResourceRequestStatusFilter Source #
The filter criteria to use in determining the requests returned.
See: newResourceRequestStatusFilter
smart constructor.
Constructors
ResourceRequestStatusFilter' | |
Fields
|
Instances
newResourceRequestStatusFilter :: ResourceRequestStatusFilter Source #
Create a value of ResourceRequestStatusFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:operationStatuses:ResourceRequestStatusFilter'
, resourceRequestStatusFilter_operationStatuses
- The operation statuses to include in the filter.
PENDING
: The operation has been requested, but not yet initiated.IN_PROGRESS
: The operation is in progress.SUCCESS
: The operation completed.FAILED
: The operation failed.CANCEL_IN_PROGRESS
: The operation is in the process of being canceled.CANCEL_COMPLETE
: The operation has been canceled.
$sel:operations:ResourceRequestStatusFilter'
, resourceRequestStatusFilter_operations
- The operation types to include in the filter.
resourceRequestStatusFilter_operationStatuses :: Lens' ResourceRequestStatusFilter (Maybe [OperationStatus]) Source #
The operation statuses to include in the filter.
PENDING
: The operation has been requested, but not yet initiated.IN_PROGRESS
: The operation is in progress.SUCCESS
: The operation completed.FAILED
: The operation failed.CANCEL_IN_PROGRESS
: The operation is in the process of being canceled.CANCEL_COMPLETE
: The operation has been canceled.
resourceRequestStatusFilter_operations :: Lens' ResourceRequestStatusFilter (Maybe [Operation]) Source #
The operation types to include in the filter.