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 |
Describes the association for the specified target or managed node. 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_associationVersion :: Lens' DescribeAssociation (Maybe Text)
- describeAssociation_instanceId :: Lens' DescribeAssociation (Maybe Text)
- describeAssociation_name :: 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:
DescribeAssociation
, describeAssociation_associationId
- The association ID for which you want information.
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 a managed node, use
ListAssociations. To get a list of versions for a specific association,
use ListAssociationVersions.
DescribeAssociation
, describeAssociation_instanceId
- The managed node ID.
DescribeAssociation
, describeAssociation_name
- The name of the SSM document.
Request Lenses
describeAssociation_associationId :: Lens' DescribeAssociation (Maybe Text) Source #
The association ID for which you want information.
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 a managed node, use
ListAssociations. To get a list of versions for a specific association,
use ListAssociationVersions.
describeAssociation_instanceId :: Lens' DescribeAssociation (Maybe Text) Source #
The managed node ID.
describeAssociation_name :: Lens' DescribeAssociation (Maybe Text) Source #
The name of the SSM document.
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.