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 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.
DescribeLoggingConfiguration' | |
|
Instances
newDescribeLoggingConfiguration Source #
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.
DescribeLoggingConfigurationResponse' | |
|
Instances
Generic DescribeLoggingConfigurationResponse Source # | |
Read DescribeLoggingConfigurationResponse Source # | |
Show DescribeLoggingConfigurationResponse Source # | |
NFData DescribeLoggingConfigurationResponse Source # | |
Defined in Amazonka.AMP.DescribeLoggingConfiguration rnf :: DescribeLoggingConfigurationResponse -> () # | |
Eq DescribeLoggingConfigurationResponse Source # | |
type Rep DescribeLoggingConfigurationResponse Source # | |
Defined in Amazonka.AMP.DescribeLoggingConfiguration type Rep DescribeLoggingConfigurationResponse = D1 ('MetaData "DescribeLoggingConfigurationResponse" "Amazonka.AMP.DescribeLoggingConfiguration" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "DescribeLoggingConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "loggingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggingConfigurationMetadata))) |
newDescribeLoggingConfigurationResponse Source #
:: 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.