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.Backup.DescribeFramework
Description
Returns the framework details for the specified FrameworkName
.
Synopsis
- data DescribeFramework = DescribeFramework' {}
- newDescribeFramework :: Text -> DescribeFramework
- describeFramework_frameworkName :: Lens' DescribeFramework Text
- data DescribeFrameworkResponse = DescribeFrameworkResponse' {}
- newDescribeFrameworkResponse :: Int -> DescribeFrameworkResponse
- describeFrameworkResponse_creationTime :: Lens' DescribeFrameworkResponse (Maybe UTCTime)
- describeFrameworkResponse_deploymentStatus :: Lens' DescribeFrameworkResponse (Maybe Text)
- describeFrameworkResponse_frameworkArn :: Lens' DescribeFrameworkResponse (Maybe Text)
- describeFrameworkResponse_frameworkControls :: Lens' DescribeFrameworkResponse (Maybe [FrameworkControl])
- describeFrameworkResponse_frameworkDescription :: Lens' DescribeFrameworkResponse (Maybe Text)
- describeFrameworkResponse_frameworkName :: Lens' DescribeFrameworkResponse (Maybe Text)
- describeFrameworkResponse_frameworkStatus :: Lens' DescribeFrameworkResponse (Maybe Text)
- describeFrameworkResponse_idempotencyToken :: Lens' DescribeFrameworkResponse (Maybe Text)
- describeFrameworkResponse_httpStatus :: Lens' DescribeFrameworkResponse Int
Creating a Request
data DescribeFramework Source #
See: newDescribeFramework
smart constructor.
Constructors
DescribeFramework' | |
Fields
|
Instances
Arguments
:: Text | |
-> DescribeFramework |
Create a value of DescribeFramework
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:
DescribeFramework
, describeFramework_frameworkName
- The unique name of a framework.
Request Lenses
describeFramework_frameworkName :: Lens' DescribeFramework Text Source #
The unique name of a framework.
Destructuring the Response
data DescribeFrameworkResponse Source #
See: newDescribeFrameworkResponse
smart constructor.
Constructors
DescribeFrameworkResponse' | |
Fields
|
Instances
newDescribeFrameworkResponse Source #
Create a value of DescribeFrameworkResponse
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:
DescribeFrameworkResponse
, describeFrameworkResponse_creationTime
- The date and time that a framework is created, in ISO 8601
representation. The value of CreationTime
is accurate to milliseconds.
For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July
2020 at 3:00 PM 8 hours behind UTC.
DescribeFrameworkResponse
, describeFrameworkResponse_deploymentStatus
- The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
DescribeFrameworkResponse
, describeFrameworkResponse_frameworkArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
$sel:frameworkControls:DescribeFrameworkResponse'
, describeFrameworkResponse_frameworkControls
- A list of the controls that make up the framework. Each control in the
list has a name, input parameters, and scope.
DescribeFrameworkResponse
, describeFrameworkResponse_frameworkDescription
- An optional description of the framework.
DescribeFramework
, describeFrameworkResponse_frameworkName
- The unique name of a framework.
$sel:frameworkStatus:DescribeFrameworkResponse'
, describeFrameworkResponse_frameworkStatus
- A framework consists of one or more controls. Each control governs a
resource, such as backup plans, backup selections, backup vaults, or
recovery points. You can also turn Config recording on or off for each
resource. The statuses are:
ACTIVE
when recording is turned on for all resources governed by the framework.PARTIALLY_ACTIVE
when recording is turned off for at least one resource governed by the framework.INACTIVE
when recording is turned off for all resources governed by the framework.UNAVAILABLE
when Backup is unable to validate recording status at this time.
$sel:idempotencyToken:DescribeFrameworkResponse'
, describeFrameworkResponse_idempotencyToken
- A customer-chosen string that you can use to distinguish between
otherwise identical calls to DescribeFrameworkOutput
. Retrying a
successful request with the same idempotency token results in a success
message with no action taken.
$sel:httpStatus:DescribeFrameworkResponse'
, describeFrameworkResponse_httpStatus
- The response's http status code.
Response Lenses
describeFrameworkResponse_creationTime :: Lens' DescribeFrameworkResponse (Maybe UTCTime) Source #
The date and time that a framework is created, in ISO 8601
representation. The value of CreationTime
is accurate to milliseconds.
For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July
2020 at 3:00 PM 8 hours behind UTC.
describeFrameworkResponse_deploymentStatus :: Lens' DescribeFrameworkResponse (Maybe Text) Source #
The deployment status of a framework. The statuses are:
CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED
describeFrameworkResponse_frameworkArn :: Lens' DescribeFrameworkResponse (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
describeFrameworkResponse_frameworkControls :: Lens' DescribeFrameworkResponse (Maybe [FrameworkControl]) Source #
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
describeFrameworkResponse_frameworkDescription :: Lens' DescribeFrameworkResponse (Maybe Text) Source #
An optional description of the framework.
describeFrameworkResponse_frameworkName :: Lens' DescribeFrameworkResponse (Maybe Text) Source #
The unique name of a framework.
describeFrameworkResponse_frameworkStatus :: Lens' DescribeFrameworkResponse (Maybe Text) Source #
A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn Config recording on or off for each resource. The statuses are:
ACTIVE
when recording is turned on for all resources governed by the framework.PARTIALLY_ACTIVE
when recording is turned off for at least one resource governed by the framework.INACTIVE
when recording is turned off for all resources governed by the framework.UNAVAILABLE
when Backup is unable to validate recording status at this time.
describeFrameworkResponse_idempotencyToken :: Lens' DescribeFrameworkResponse (Maybe Text) Source #
A customer-chosen string that you can use to distinguish between
otherwise identical calls to DescribeFrameworkOutput
. Retrying a
successful request with the same idempotency token results in a success
message with no action taken.
describeFrameworkResponse_httpStatus :: Lens' DescribeFrameworkResponse Int Source #
The response's http status code.