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 |
Updates an existing framework identified by its FrameworkName
with the
input document in JSON format.
Synopsis
- data UpdateFramework = UpdateFramework' {}
- newUpdateFramework :: Text -> UpdateFramework
- updateFramework_idempotencyToken :: Lens' UpdateFramework (Maybe Text)
- updateFramework_frameworkDescription :: Lens' UpdateFramework (Maybe Text)
- updateFramework_frameworkControls :: Lens' UpdateFramework (Maybe [FrameworkControl])
- updateFramework_frameworkName :: Lens' UpdateFramework Text
- data UpdateFrameworkResponse = UpdateFrameworkResponse' {}
- newUpdateFrameworkResponse :: Int -> UpdateFrameworkResponse
- updateFrameworkResponse_creationTime :: Lens' UpdateFrameworkResponse (Maybe UTCTime)
- updateFrameworkResponse_frameworkArn :: Lens' UpdateFrameworkResponse (Maybe Text)
- updateFrameworkResponse_frameworkName :: Lens' UpdateFrameworkResponse (Maybe Text)
- updateFrameworkResponse_httpStatus :: Lens' UpdateFrameworkResponse Int
Creating a Request
data UpdateFramework Source #
See: newUpdateFramework
smart constructor.
UpdateFramework' | |
|
Instances
Create a value of UpdateFramework
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:idempotencyToken:UpdateFramework'
, updateFramework_idempotencyToken
- A customer-chosen string that you can use to distinguish between
otherwise identical calls to UpdateFrameworkInput
. Retrying a
successful request with the same idempotency token results in a success
message with no action taken.
$sel:frameworkDescription:UpdateFramework'
, updateFramework_frameworkDescription
- An optional description of the framework with a maximum 1,024
characters.
$sel:frameworkControls:UpdateFramework'
, updateFramework_frameworkControls
- A list of the controls that make up the framework. Each control in the
list has a name, input parameters, and scope.
$sel:frameworkName:UpdateFramework'
, updateFramework_frameworkName
- The unique name of a framework. This name is between 1 and 256
characters, starting with a letter, and consisting of letters (a-z,
A-Z), numbers (0-9), and underscores (_).
Request Lenses
updateFramework_idempotencyToken :: Lens' UpdateFramework (Maybe Text) Source #
A customer-chosen string that you can use to distinguish between
otherwise identical calls to UpdateFrameworkInput
. Retrying a
successful request with the same idempotency token results in a success
message with no action taken.
updateFramework_frameworkDescription :: Lens' UpdateFramework (Maybe Text) Source #
An optional description of the framework with a maximum 1,024 characters.
updateFramework_frameworkControls :: Lens' UpdateFramework (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.
updateFramework_frameworkName :: Lens' UpdateFramework Text Source #
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
Destructuring the Response
data UpdateFrameworkResponse Source #
See: newUpdateFrameworkResponse
smart constructor.
UpdateFrameworkResponse' | |
|
Instances
newUpdateFrameworkResponse Source #
Create a value of UpdateFrameworkResponse
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:creationTime:UpdateFrameworkResponse'
, updateFrameworkResponse_creationTime
- The date and time that a framework is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:frameworkArn:UpdateFrameworkResponse'
, updateFrameworkResponse_frameworkArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
$sel:frameworkName:UpdateFramework'
, updateFrameworkResponse_frameworkName
- The unique name of a framework. This name is between 1 and 256
characters, starting with a letter, and consisting of letters (a-z,
A-Z), numbers (0-9), and underscores (_).
$sel:httpStatus:UpdateFrameworkResponse'
, updateFrameworkResponse_httpStatus
- The response's http status code.
Response Lenses
updateFrameworkResponse_creationTime :: Lens' UpdateFrameworkResponse (Maybe UTCTime) Source #
The date and time that a framework is created, in Unix format and
Coordinated Universal Time (UTC). The value of CreationTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
updateFrameworkResponse_frameworkArn :: Lens' UpdateFrameworkResponse (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
updateFrameworkResponse_frameworkName :: Lens' UpdateFrameworkResponse (Maybe Text) Source #
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
updateFrameworkResponse_httpStatus :: Lens' UpdateFrameworkResponse Int Source #
The response's http status code.