amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMR.GetBlockPublicAccessConfiguration

Description

Returns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.

Synopsis

Creating a Request

data GetBlockPublicAccessConfiguration Source #

See: newGetBlockPublicAccessConfiguration smart constructor.

Instances

Instances details
ToJSON GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

ToHeaders GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

ToPath GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

ToQuery GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

AWSRequest GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Generic GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Associated Types

type Rep GetBlockPublicAccessConfiguration :: Type -> Type #

Read GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Show GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

NFData GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Eq GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Hashable GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

type AWSResponse GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

type Rep GetBlockPublicAccessConfiguration Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

type Rep GetBlockPublicAccessConfiguration = D1 ('MetaData "GetBlockPublicAccessConfiguration" "Amazonka.EMR.GetBlockPublicAccessConfiguration" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "GetBlockPublicAccessConfiguration'" 'PrefixI 'False) (U1 :: Type -> Type))

newGetBlockPublicAccessConfiguration :: GetBlockPublicAccessConfiguration Source #

Create a value of GetBlockPublicAccessConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetBlockPublicAccessConfigurationResponse Source #

Constructors

GetBlockPublicAccessConfigurationResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • blockPublicAccessConfiguration :: BlockPublicAccessConfiguration

    A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception.

    For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.

  • blockPublicAccessConfigurationMetadata :: BlockPublicAccessConfigurationMetadata

    Properties that describe the Amazon Web Services principal that created the BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration action as well as the date and time that the configuration was created. Each time a configuration for block public access is updated, Amazon EMR updates this metadata.

Instances

Instances details
Generic GetBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Read GetBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Show GetBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

NFData GetBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

Eq GetBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

type Rep GetBlockPublicAccessConfigurationResponse Source # 
Instance details

Defined in Amazonka.EMR.GetBlockPublicAccessConfiguration

type Rep GetBlockPublicAccessConfigurationResponse = D1 ('MetaData "GetBlockPublicAccessConfigurationResponse" "Amazonka.EMR.GetBlockPublicAccessConfiguration" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "GetBlockPublicAccessConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "blockPublicAccessConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockPublicAccessConfiguration) :*: S1 ('MetaSel ('Just "blockPublicAccessConfigurationMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockPublicAccessConfigurationMetadata))))

newGetBlockPublicAccessConfigurationResponse Source #

Create a value of GetBlockPublicAccessConfigurationResponse 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:GetBlockPublicAccessConfigurationResponse', getBlockPublicAccessConfigurationResponse_httpStatus - The response's http status code.

$sel:blockPublicAccessConfiguration:GetBlockPublicAccessConfigurationResponse', getBlockPublicAccessConfigurationResponse_blockPublicAccessConfiguration - A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception.

For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.

$sel:blockPublicAccessConfigurationMetadata:GetBlockPublicAccessConfigurationResponse', getBlockPublicAccessConfigurationResponse_blockPublicAccessConfigurationMetadata - Properties that describe the Amazon Web Services principal that created the BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration action as well as the date and time that the configuration was created. Each time a configuration for block public access is updated, Amazon EMR updates this metadata.

Response Lenses

getBlockPublicAccessConfigurationResponse_blockPublicAccessConfiguration :: Lens' GetBlockPublicAccessConfigurationResponse BlockPublicAccessConfiguration Source #

A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception.

For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.

getBlockPublicAccessConfigurationResponse_blockPublicAccessConfigurationMetadata :: Lens' GetBlockPublicAccessConfigurationResponse BlockPublicAccessConfigurationMetadata Source #

Properties that describe the Amazon Web Services principal that created the BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration action as well as the date and time that the configuration was created. Each time a configuration for block public access is updated, Amazon EMR updates this metadata.