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.AMP.DescribeLoggingConfiguration
Description
Describes logging configuration.
Synopsis
- data DescribeLoggingConfiguration = DescribeLoggingConfiguration' {
- workspaceId :: Text
- newDescribeLoggingConfiguration :: Text -> DescribeLoggingConfiguration
- describeLoggingConfiguration_workspaceId :: Lens' DescribeLoggingConfiguration Text
- data DescribeLoggingConfigurationResponse = DescribeLoggingConfigurationResponse' {}
- newDescribeLoggingConfigurationResponse :: Int -> LoggingConfigurationMetadata -> DescribeLoggingConfigurationResponse
- describeLoggingConfigurationResponse_httpStatus :: Lens' DescribeLoggingConfigurationResponse Int
- describeLoggingConfigurationResponse_loggingConfiguration :: Lens' DescribeLoggingConfigurationResponse LoggingConfigurationMetadata
Creating a Request
data DescribeLoggingConfiguration Source #
Represents the input of a DescribeLoggingConfiguration operation.
See: newDescribeLoggingConfiguration
smart constructor.
Constructors
DescribeLoggingConfiguration' | |
Fields
|
Instances
newDescribeLoggingConfiguration Source #
Arguments
:: Text | |
-> DescribeLoggingConfiguration |
Create a value of DescribeLoggingConfiguration
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:
DescribeLoggingConfiguration
, describeLoggingConfiguration_workspaceId
- The ID of the workspace to vend logs to.
Request Lenses
describeLoggingConfiguration_workspaceId :: Lens' DescribeLoggingConfiguration Text Source #
The ID of the workspace to vend logs to.
Destructuring the Response
data DescribeLoggingConfigurationResponse Source #
Represents the output of a DescribeLoggingConfiguration operation.
See: newDescribeLoggingConfigurationResponse
smart constructor.
Constructors
DescribeLoggingConfigurationResponse' | |
Fields
|
Instances
newDescribeLoggingConfigurationResponse Source #
Arguments
:: Int | |
-> LoggingConfigurationMetadata |
|
-> DescribeLoggingConfigurationResponse |
Create a value of DescribeLoggingConfigurationResponse
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:httpStatus:DescribeLoggingConfigurationResponse'
, describeLoggingConfigurationResponse_httpStatus
- The response's http status code.
$sel:loggingConfiguration:DescribeLoggingConfigurationResponse'
, describeLoggingConfigurationResponse_loggingConfiguration
- Metadata object containing information about the logging configuration
of a workspace.
Response Lenses
describeLoggingConfigurationResponse_httpStatus :: Lens' DescribeLoggingConfigurationResponse Int Source #
The response's http status code.
describeLoggingConfigurationResponse_loggingConfiguration :: Lens' DescribeLoggingConfigurationResponse LoggingConfigurationMetadata Source #
Metadata object containing information about the logging configuration of a workspace.