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 |
Describes the association for the specified target or instance. If you
created the association by using the Targets
parameter, then you must
retrieve the association by using the association ID.
Synopsis
- data DescribeAssociation = DescribeAssociation' {}
- newDescribeAssociation :: DescribeAssociation
- describeAssociation_associationId :: Lens' DescribeAssociation (Maybe Text)
- describeAssociation_instanceId :: Lens' DescribeAssociation (Maybe Text)
- describeAssociation_name :: Lens' DescribeAssociation (Maybe Text)
- describeAssociation_associationVersion :: Lens' DescribeAssociation (Maybe Text)
- data DescribeAssociationResponse = DescribeAssociationResponse' {}
- newDescribeAssociationResponse :: Int -> DescribeAssociationResponse
- describeAssociationResponse_associationDescription :: Lens' DescribeAssociationResponse (Maybe AssociationDescription)
- describeAssociationResponse_httpStatus :: Lens' DescribeAssociationResponse Int
Creating a Request
data DescribeAssociation Source #
See: newDescribeAssociation
smart constructor.
DescribeAssociation' | |
|
Instances
newDescribeAssociation :: DescribeAssociation Source #
Create a value of DescribeAssociation
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:associationId:DescribeAssociation'
, describeAssociation_associationId
- The association ID for which you want information.
$sel:instanceId:DescribeAssociation'
, describeAssociation_instanceId
- The instance ID.
$sel:name:DescribeAssociation'
, describeAssociation_name
- The name of the SSM document.
$sel:associationVersion:DescribeAssociation'
, describeAssociation_associationVersion
- Specify the association version to retrieve. To view the latest version,
either specify $LATEST
for this parameter, or omit this parameter. To
view a list of all associations for an instance, use ListAssociations.
To get a list of versions for a specific association, use
ListAssociationVersions.
Request Lenses
describeAssociation_associationId :: Lens' DescribeAssociation (Maybe Text) Source #
The association ID for which you want information.
describeAssociation_instanceId :: Lens' DescribeAssociation (Maybe Text) Source #
The instance ID.
describeAssociation_name :: Lens' DescribeAssociation (Maybe Text) Source #
The name of the SSM document.
describeAssociation_associationVersion :: Lens' DescribeAssociation (Maybe Text) Source #
Specify the association version to retrieve. To view the latest version,
either specify $LATEST
for this parameter, or omit this parameter. To
view a list of all associations for an instance, use ListAssociations.
To get a list of versions for a specific association, use
ListAssociationVersions.
Destructuring the Response
data DescribeAssociationResponse Source #
See: newDescribeAssociationResponse
smart constructor.
DescribeAssociationResponse' | |
|
Instances
newDescribeAssociationResponse Source #
Create a value of DescribeAssociationResponse
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:associationDescription:DescribeAssociationResponse'
, describeAssociationResponse_associationDescription
- Information about the association.
$sel:httpStatus:DescribeAssociationResponse'
, describeAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
describeAssociationResponse_associationDescription :: Lens' DescribeAssociationResponse (Maybe AssociationDescription) Source #
Information about the association.
describeAssociationResponse_httpStatus :: Lens' DescribeAssociationResponse Int Source #
The response's http status code.