Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Describes the associations for the specified Systems Manager document or instance.
- describeAssociation :: DescribeAssociation
- data DescribeAssociation
- daAssociationId :: Lens' DescribeAssociation (Maybe Text)
- daInstanceId :: Lens' DescribeAssociation (Maybe Text)
- daName :: Lens' DescribeAssociation (Maybe Text)
- daAssociationVersion :: Lens' DescribeAssociation (Maybe Text)
- describeAssociationResponse :: Int -> DescribeAssociationResponse
- data DescribeAssociationResponse
- daarsAssociationDescription :: Lens' DescribeAssociationResponse (Maybe AssociationDescription)
- daarsResponseStatus :: Lens' DescribeAssociationResponse Int
Creating a Request
describeAssociation :: DescribeAssociation Source #
Creates a value of DescribeAssociation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daAssociationId
- The association ID for which you want information.daInstanceId
- The instance ID.daName
- The name of the Systems Manager document.daAssociationVersion
- 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 ListInstanceAssociations. To get a list of versions for a specific association, use ListAssociationVersions.
data DescribeAssociation Source #
See: describeAssociation
smart constructor.
Request Lenses
daAssociationId :: Lens' DescribeAssociation (Maybe Text) Source #
The association ID for which you want information.
daInstanceId :: Lens' DescribeAssociation (Maybe Text) Source #
The instance ID.
daAssociationVersion :: 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 ListInstanceAssociations. To get a list of versions for a specific association, use ListAssociationVersions.
Destructuring the Response
describeAssociationResponse Source #
Creates a value of DescribeAssociationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daarsAssociationDescription
- Information about the association.daarsResponseStatus
- -- | The response status code.
data DescribeAssociationResponse Source #
See: describeAssociationResponse
smart constructor.
Response Lenses
daarsAssociationDescription :: Lens' DescribeAssociationResponse (Maybe AssociationDescription) Source #
Information about the association.
daarsResponseStatus :: Lens' DescribeAssociationResponse Int Source #
- - | The response status code.