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

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Data ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

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 # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Show ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Generic ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Associated Types

type Rep ListBucketMetricsConfigurations :: Type -> Type #

Hashable ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

AWSRequest ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Associated Types

type Rs ListBucketMetricsConfigurations :: Type #

ToHeaders ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

ToPath ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

ToQuery ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

NFData ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

type Rep ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

type Rep ListBucketMetricsConfigurations = D1 (MetaData "ListBucketMetricsConfigurations" "Network.AWS.S3.ListBucketMetricsConfigurations" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "ListBucketMetricsConfigurations'" PrefixI True) (S1 (MetaSel (Just "_lbmcContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbmcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)))
type Rs ListBucketMetricsConfigurations Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

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 # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Data ListBucketMetricsConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

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 # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Show ListBucketMetricsConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

Generic ListBucketMetricsConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

NFData ListBucketMetricsConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

type Rep ListBucketMetricsConfigurationsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBucketMetricsConfigurations

type Rep ListBucketMetricsConfigurationsResponse = D1 (MetaData "ListBucketMetricsConfigurationsResponse" "Network.AWS.S3.ListBucketMetricsConfigurations" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "ListBucketMetricsConfigurationsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lbmcrsContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbmcrsMetricsConfigurationList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetricsConfiguration]))) :*: (S1 (MetaSel (Just "_lbmcrsNextContinuationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lbmcrsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_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.