Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- getResource_typeVersionId :: Lens' GetResource (Maybe Text)
- getResource_roleArn :: Lens' GetResource (Maybe Text)
- getResource_typeName :: Lens' GetResource Text
- getResource_identifier :: Lens' GetResource Text
- getResourceResponse_typeName :: Lens' GetResourceResponse (Maybe Text)
- getResourceResponse_resourceDescription :: Lens' GetResourceResponse (Maybe ResourceDescription)
- getResourceResponse_httpStatus :: Lens' GetResourceResponse Int
- listResourceRequests_nextToken :: Lens' ListResourceRequests (Maybe Text)
- listResourceRequests_resourceRequestStatusFilter :: Lens' ListResourceRequests (Maybe ResourceRequestStatusFilter)
- listResourceRequests_maxResults :: Lens' ListResourceRequests (Maybe Natural)
- listResourceRequestsResponse_resourceRequestStatusSummaries :: Lens' ListResourceRequestsResponse (Maybe [ProgressEvent])
- listResourceRequestsResponse_nextToken :: Lens' ListResourceRequestsResponse (Maybe Text)
- listResourceRequestsResponse_httpStatus :: Lens' ListResourceRequestsResponse Int
- cancelResourceRequest_requestToken :: Lens' CancelResourceRequest Text
- cancelResourceRequestResponse_progressEvent :: Lens' CancelResourceRequestResponse (Maybe ProgressEvent)
- cancelResourceRequestResponse_httpStatus :: Lens' CancelResourceRequestResponse Int
- deleteResource_clientToken :: Lens' DeleteResource (Maybe Text)
- deleteResource_typeVersionId :: Lens' DeleteResource (Maybe Text)
- deleteResource_roleArn :: Lens' DeleteResource (Maybe Text)
- deleteResource_typeName :: Lens' DeleteResource Text
- deleteResource_identifier :: Lens' DeleteResource Text
- deleteResourceResponse_progressEvent :: Lens' DeleteResourceResponse (Maybe ProgressEvent)
- deleteResourceResponse_httpStatus :: Lens' DeleteResourceResponse Int
- updateResource_clientToken :: Lens' UpdateResource (Maybe Text)
- updateResource_typeVersionId :: Lens' UpdateResource (Maybe Text)
- updateResource_roleArn :: Lens' UpdateResource (Maybe Text)
- updateResource_typeName :: Lens' UpdateResource Text
- updateResource_identifier :: Lens' UpdateResource Text
- updateResource_patchDocument :: Lens' UpdateResource Text
- updateResourceResponse_progressEvent :: Lens' UpdateResourceResponse (Maybe ProgressEvent)
- updateResourceResponse_httpStatus :: Lens' UpdateResourceResponse Int
- listResources_resourceModel :: Lens' ListResources (Maybe Text)
- listResources_nextToken :: Lens' ListResources (Maybe Text)
- listResources_typeVersionId :: Lens' ListResources (Maybe Text)
- listResources_maxResults :: Lens' ListResources (Maybe Natural)
- listResources_roleArn :: Lens' ListResources (Maybe Text)
- listResources_typeName :: Lens' ListResources Text
- listResourcesResponse_resourceDescriptions :: Lens' ListResourcesResponse (Maybe [ResourceDescription])
- listResourcesResponse_typeName :: Lens' ListResourcesResponse (Maybe Text)
- listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text)
- listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int
- createResource_clientToken :: Lens' CreateResource (Maybe Text)
- createResource_typeVersionId :: Lens' CreateResource (Maybe Text)
- createResource_roleArn :: Lens' CreateResource (Maybe Text)
- createResource_typeName :: Lens' CreateResource Text
- createResource_desiredState :: Lens' CreateResource Text
- createResourceResponse_progressEvent :: Lens' CreateResourceResponse (Maybe ProgressEvent)
- createResourceResponse_httpStatus :: Lens' CreateResourceResponse Int
- getResourceRequestStatus_requestToken :: Lens' GetResourceRequestStatus Text
- getResourceRequestStatusResponse_progressEvent :: Lens' GetResourceRequestStatusResponse (Maybe ProgressEvent)
- getResourceRequestStatusResponse_httpStatus :: Lens' GetResourceRequestStatusResponse Int
- progressEvent_retryAfter :: Lens' ProgressEvent (Maybe UTCTime)
- progressEvent_typeName :: Lens' ProgressEvent (Maybe Text)
- progressEvent_requestToken :: Lens' ProgressEvent (Maybe Text)
- progressEvent_resourceModel :: Lens' ProgressEvent (Maybe Text)
- progressEvent_operation :: Lens' ProgressEvent (Maybe Operation)
- progressEvent_identifier :: Lens' ProgressEvent (Maybe Text)
- progressEvent_operationStatus :: Lens' ProgressEvent (Maybe OperationStatus)
- progressEvent_eventTime :: Lens' ProgressEvent (Maybe UTCTime)
- progressEvent_statusMessage :: Lens' ProgressEvent (Maybe Text)
- progressEvent_errorCode :: Lens' ProgressEvent (Maybe HandlerErrorCode)
- resourceDescription_identifier :: Lens' ResourceDescription (Maybe Text)
- resourceDescription_properties :: Lens' ResourceDescription (Maybe Text)
- resourceRequestStatusFilter_operationStatuses :: Lens' ResourceRequestStatusFilter (Maybe [OperationStatus])
- resourceRequestStatusFilter_operations :: Lens' ResourceRequestStatusFilter (Maybe [Operation])
Operations
GetResource
getResource_typeVersionId :: Lens' GetResource (Maybe Text) Source #
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
getResource_roleArn :: Lens' GetResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) for Cloud Control API to use when performing this resource
operation. The role specified must have the permissions required for
this operation. The necessary permissions for each event handler are
defined in the handlers
section of the
resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
getResource_typeName :: Lens' GetResource Text Source #
The name of the resource type.
getResource_identifier :: Lens' GetResource Text Source #
The identifier for the resource.
You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.
For compound primary identifiers (that is, one that consists of multiple
resource properties strung together), to specify the primary identifier
as a string, list the property values in the order they are specified
in the primary identifier definition, separated by |
.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
getResourceResponse_typeName :: Lens' GetResourceResponse (Maybe Text) Source #
The name of the resource type.
getResourceResponse_resourceDescription :: Lens' GetResourceResponse (Maybe ResourceDescription) Source #
Undocumented member.
getResourceResponse_httpStatus :: Lens' GetResourceResponse Int Source #
The response's http status code.
ListResourceRequests
listResourceRequests_nextToken :: Lens' ListResourceRequests (Maybe Text) Source #
If the previous paginated request didn't return all of the remaining
results, the response object's NextToken
parameter value is set to a
token. To retrieve the next set of results, call this action again and
assign that token to the request object's NextToken
parameter. If
there are no remaining results, the previous response object's
NextToken
parameter is set to null
.
listResourceRequests_resourceRequestStatusFilter :: Lens' ListResourceRequests (Maybe ResourceRequestStatusFilter) Source #
The filter criteria to apply to the requests returned.
listResourceRequests_maxResults :: Lens' ListResourceRequests (Maybe Natural) Source #
The maximum number of results to be returned with a single call. If the
number of available results exceeds this maximum, the response includes
a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.
The default is 20
.
listResourceRequestsResponse_resourceRequestStatusSummaries :: Lens' ListResourceRequestsResponse (Maybe [ProgressEvent]) Source #
The requests that match the specified filter criteria.
listResourceRequestsResponse_nextToken :: Lens' ListResourceRequestsResponse (Maybe Text) Source #
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call
ListResources
again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to null.
listResourceRequestsResponse_httpStatus :: Lens' ListResourceRequestsResponse Int Source #
The response's http status code.
CancelResourceRequest
cancelResourceRequest_requestToken :: Lens' CancelResourceRequest Text Source #
The RequestToken
of the ProgressEvent
object returned by the
resource operation request.
cancelResourceRequestResponse_progressEvent :: Lens' CancelResourceRequestResponse (Maybe ProgressEvent) Source #
Undocumented member.
cancelResourceRequestResponse_httpStatus :: Lens' CancelResourceRequestResponse Int Source #
The response's http status code.
DeleteResource
deleteResource_clientToken :: Lens' DeleteResource (Maybe Text) Source #
A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.
A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
For more information, see Ensuring resource operation requests are unique in the Amazon Web Services Cloud Control API User Guide.
deleteResource_typeVersionId :: Lens' DeleteResource (Maybe Text) Source #
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
deleteResource_roleArn :: Lens' DeleteResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) for Cloud Control API to use when performing this resource
operation. The role specified must have the permissions required for
this operation. The necessary permissions for each event handler are
defined in the handlers
section of the
resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
deleteResource_typeName :: Lens' DeleteResource Text Source #
The name of the resource type.
deleteResource_identifier :: Lens' DeleteResource Text Source #
The identifier for the resource.
You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.
For compound primary identifiers (that is, one that consists of multiple
resource properties strung together), to specify the primary identifier
as a string, list the property values in the order they are specified
in the primary identifier definition, separated by |
.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
deleteResourceResponse_progressEvent :: Lens' DeleteResourceResponse (Maybe ProgressEvent) Source #
Represents the current status of the resource deletion request.
After you have initiated a resource deletion request, you can monitor
the progress of your request by calling
GetResourceRequestStatus
using the RequestToken
of the ProgressEvent
returned by
DeleteResource
.
deleteResourceResponse_httpStatus :: Lens' DeleteResourceResponse Int Source #
The response's http status code.
UpdateResource
updateResource_clientToken :: Lens' UpdateResource (Maybe Text) Source #
A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.
A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
For more information, see Ensuring resource operation requests are unique in the Amazon Web Services Cloud Control API User Guide.
updateResource_typeVersionId :: Lens' UpdateResource (Maybe Text) Source #
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
updateResource_roleArn :: Lens' UpdateResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) for Cloud Control API to use when performing this resource
operation. The role specified must have the permissions required for
this operation. The necessary permissions for each event handler are
defined in the handlers
section of the
resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
updateResource_typeName :: Lens' UpdateResource Text Source #
The name of the resource type.
updateResource_identifier :: Lens' UpdateResource Text Source #
The identifier for the resource.
You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.
For compound primary identifiers (that is, one that consists of multiple
resource properties strung together), to specify the primary identifier
as a string, list the property values in the order they are specified
in the primary identifier definition, separated by |
.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
updateResource_patchDocument :: Lens' UpdateResource Text Source #
A JavaScript Object Notation (JSON) document listing the patch operations that represent the updates to apply to the current resource properties. For details, see Composing the patch document in the Amazon Web Services Cloud Control API User Guide.
updateResourceResponse_progressEvent :: Lens' UpdateResourceResponse (Maybe ProgressEvent) Source #
Represents the current status of the resource update request.
Use the RequestToken
of the ProgressEvent
with
GetResourceRequestStatus
to return the current status of a resource operation request.
updateResourceResponse_httpStatus :: Lens' UpdateResourceResponse Int Source #
The response's http status code.
ListResources
listResources_resourceModel :: Lens' ListResources (Maybe Text) Source #
The resource model to use to select the resources to return.
listResources_nextToken :: Lens' ListResources (Maybe Text) Source #
If the previous paginated request didn't return all of the remaining
results, the response object's NextToken
parameter value is set to a
token. To retrieve the next set of results, call this action again and
assign that token to the request object's NextToken
parameter. If
there are no remaining results, the previous response object's
NextToken
parameter is set to null
.
listResources_typeVersionId :: Lens' ListResources (Maybe Text) Source #
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #
The maximum number of results to be returned with a single call. If the
number of available results exceeds this maximum, the response includes
a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.
The default is 20
.
listResources_roleArn :: Lens' ListResources (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) for Cloud Control API to use when performing this resource
operation. The role specified must have the permissions required for
this operation. The necessary permissions for each event handler are
defined in the handlers
section of the
resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
listResources_typeName :: Lens' ListResources Text Source #
The name of the resource type.
listResourcesResponse_resourceDescriptions :: Lens' ListResourcesResponse (Maybe [ResourceDescription]) Source #
Information about the specified resources, including primary identifier and resource model.
listResourcesResponse_typeName :: Lens' ListResourcesResponse (Maybe Text) Source #
The name of the resource type.
listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call
ListResources
again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to null.
listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int Source #
The response's http status code.
CreateResource
createResource_clientToken :: Lens' CreateResource (Maybe Text) Source #
A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.
A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
For more information, see Ensuring resource operation requests are unique in the Amazon Web Services Cloud Control API User Guide.
createResource_typeVersionId :: Lens' CreateResource (Maybe Text) Source #
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
createResource_roleArn :: Lens' CreateResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) for Cloud Control API to use when performing this resource
operation. The role specified must have the permissions required for
this operation. The necessary permissions for each event handler are
defined in the handlers
section of the
resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
createResource_typeName :: Lens' CreateResource Text Source #
The name of the resource type.
createResource_desiredState :: Lens' CreateResource Text Source #
Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.
Cloud Control API currently supports JSON as a structured data format.
Specify the desired state as one of the following:
- A JSON blob
- A local path containing the desired state in JSON data format
For more information, see Composing the desired state of the resource in the Amazon Web Services Cloud Control API User Guide.
For more information about the properties of a specific resource, refer to the related topic for the resource in the Resource and property types reference in the Amazon Web Services CloudFormation Users Guide.
createResourceResponse_progressEvent :: Lens' CreateResourceResponse (Maybe ProgressEvent) Source #
Represents the current status of the resource creation request.
After you have initiated a resource creation request, you can monitor
the progress of your request by calling
GetResourceRequestStatus
using the RequestToken
of the ProgressEvent
returned by
CreateResource
.
createResourceResponse_httpStatus :: Lens' CreateResourceResponse Int Source #
The response's http status code.
GetResourceRequestStatus
getResourceRequestStatus_requestToken :: Lens' GetResourceRequestStatus Text Source #
A unique token used to track the progress of the resource operation request.
Request tokens are included in the ProgressEvent
type returned by a
resource operation request.
getResourceRequestStatusResponse_progressEvent :: Lens' GetResourceRequestStatusResponse (Maybe ProgressEvent) Source #
Represents the current status of the resource operation request.
getResourceRequestStatusResponse_httpStatus :: Lens' GetResourceRequestStatusResponse Int Source #
The response's http status code.
Types
ProgressEvent
progressEvent_retryAfter :: Lens' ProgressEvent (Maybe UTCTime) Source #
When to next request the status of this resource operation request.
progressEvent_typeName :: Lens' ProgressEvent (Maybe Text) Source #
The name of the resource type used in the operation.
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_operation :: Lens' ProgressEvent (Maybe Operation) Source #
The resource operation type.
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_operationStatus :: Lens' ProgressEvent (Maybe OperationStatus) Source #
The current status of the resource operation request.
PENDING
: The resource operation has not 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_eventTime :: Lens' ProgressEvent (Maybe UTCTime) Source #
When the resource operation request was initiated.
progressEvent_statusMessage :: Lens' ProgressEvent (Maybe Text) Source #
Any message explaining the current status.
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/.
ResourceDescription
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
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 currently in progress.SUCCESS
: The operation has successfully completed.FAILED
: The operation has failed.CANCEL_IN_PROGRESS
: The operation is currently 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.