amazonka-s3-1.5.0: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.ListBucketMetricsConfigurations

Contents

Description

Lists the metrics configurations for the bucket.

Synopsis

Creating a Request

listBucketMetricsConfigurations Source #

Creates a value of ListBucketMetricsConfigurations with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lbmcContinuationToken - The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.
  • lbmcBucket - The name of the bucket containing the metrics configurations to retrieve.

data ListBucketMetricsConfigurations Source #

See: listBucketMetricsConfigurations smart constructor.

Instances

Eq ListBucketMetricsConfigurations Source # 
Data ListBucketMetricsConfigurations Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListBucketMetricsConfigurations -> c ListBucketMetricsConfigurations #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListBucketMetricsConfigurations #

toConstr :: ListBucketMetricsConfigurations -> Constr #

dataTypeOf :: ListBucketMetricsConfigurations -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListBucketMetricsConfigurations) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListBucketMetricsConfigurations) #

gmapT :: (forall b. Data b => b -> b) -> ListBucketMetricsConfigurations -> ListBucketMetricsConfigurations #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListBucketMetricsConfigurations -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListBucketMetricsConfigurations -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListBucketMetricsConfigurations -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListBucketMetricsConfigurations -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListBucketMetricsConfigurations -> m ListBucketMetricsConfigurations #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListBucketMetricsConfigurations -> m ListBucketMetricsConfigurations #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListBucketMetricsConfigurations -> m ListBucketMetricsConfigurations #

Read ListBucketMetricsConfigurations Source # 
Show ListBucketMetricsConfigurations Source # 
Generic ListBucketMetricsConfigurations Source # 
Hashable ListBucketMetricsConfigurations Source # 
NFData ListBucketMetricsConfigurations Source # 
AWSRequest ListBucketMetricsConfigurations Source # 
ToQuery ListBucketMetricsConfigurations Source # 
ToPath ListBucketMetricsConfigurations Source # 
ToHeaders ListBucketMetricsConfigurations Source # 
type Rep ListBucketMetricsConfigurations Source # 
type Rep ListBucketMetricsConfigurations = D1 (MetaData "ListBucketMetricsConfigurations" "Network.AWS.S3.ListBucketMetricsConfigurations" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "ListBucketMetricsConfigurations'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbmcContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbmcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName))))
type Rs ListBucketMetricsConfigurations Source # 

Request Lenses

lbmcContinuationToken :: Lens' ListBucketMetricsConfigurations (Maybe Text) Source #

The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

lbmcBucket :: Lens' ListBucketMetricsConfigurations BucketName Source #

The name of the bucket containing the metrics configurations to retrieve.

Destructuring the Response

listBucketMetricsConfigurationsResponse Source #

Creates a value of ListBucketMetricsConfigurationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lbmcrsContinuationToken - The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request.
  • lbmcrsMetricsConfigurationList - The list of metrics configurations for a bucket.
  • lbmcrsNextContinuationToken - The marker used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.
  • lbmcrsIsTruncated - Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.
  • lbmcrsResponseStatus - -- | The response status code.

data ListBucketMetricsConfigurationsResponse Source #

Instances

Eq ListBucketMetricsConfigurationsResponse Source # 
Data ListBucketMetricsConfigurationsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListBucketMetricsConfigurationsResponse -> c ListBucketMetricsConfigurationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListBucketMetricsConfigurationsResponse #

toConstr :: ListBucketMetricsConfigurationsResponse -> Constr #

dataTypeOf :: ListBucketMetricsConfigurationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListBucketMetricsConfigurationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListBucketMetricsConfigurationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListBucketMetricsConfigurationsResponse -> ListBucketMetricsConfigurationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListBucketMetricsConfigurationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListBucketMetricsConfigurationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListBucketMetricsConfigurationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListBucketMetricsConfigurationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListBucketMetricsConfigurationsResponse -> m ListBucketMetricsConfigurationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListBucketMetricsConfigurationsResponse -> m ListBucketMetricsConfigurationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListBucketMetricsConfigurationsResponse -> m ListBucketMetricsConfigurationsResponse #

Read ListBucketMetricsConfigurationsResponse Source # 
Show ListBucketMetricsConfigurationsResponse Source # 
Generic ListBucketMetricsConfigurationsResponse Source # 
NFData ListBucketMetricsConfigurationsResponse Source # 
type Rep ListBucketMetricsConfigurationsResponse Source # 
type Rep ListBucketMetricsConfigurationsResponse = D1 (MetaData "ListBucketMetricsConfigurationsResponse" "Network.AWS.S3.ListBucketMetricsConfigurations" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "ListBucketMetricsConfigurationsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lbmcrsContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbmcrsMetricsConfigurationList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsConfiguration])))) ((:*:) (S1 (MetaSel (Just Symbol "_lbmcrsNextContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lbmcrsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lbmcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

lbmcrsContinuationToken :: Lens' ListBucketMetricsConfigurationsResponse (Maybe Text) Source #

The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request.

lbmcrsNextContinuationToken :: Lens' ListBucketMetricsConfigurationsResponse (Maybe Text) Source #

The marker used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

lbmcrsIsTruncated :: Lens' ListBucketMetricsConfigurationsResponse (Maybe Bool) Source #

Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request.