NAME

Paws::AmplifyBackend::CreateBackendAPI - Arguments for method CreateBackendAPI on Paws::AmplifyBackend

DESCRIPTION

This class represents the parameters used for calling the method CreateBackendAPI on the AmplifyBackend service. Use the attributes of this class as arguments to method CreateBackendAPI.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBackendAPI.

SYNOPSIS

my $amplifybackend = Paws->service('AmplifyBackend');
my $CreateBackendAPIResponse = $amplifybackend->CreateBackendAPI(
  AppId                  => 'My__string',
  BackendEnvironmentName => 'My__string',
  ResourceConfig         => {
    AdditionalAuthTypes => [
      {
        Mode => 'API_KEY'
        , # values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT; OPTIONAL
        Settings => {
          CognitoUserPoolId  => 'My__string',
          Description        => 'My__string',
          ExpirationTime     => 1,              # OPTIONAL
          OpenIDAuthTTL      => 'My__string',
          OpenIDClientId     => 'My__string',
          OpenIDIatTTL       => 'My__string',
          OpenIDIssueURL     => 'My__string',
          OpenIDProviderName => 'My__string',
        },    # OPTIONAL
      },
      ...
    ],    # OPTIONAL
    ApiName            => 'My__string',
    ConflictResolution => {
      ResolutionStrategy => 'OPTIMISTIC_CONCURRENCY'
      ,  # values: OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE; OPTIONAL
    },    # OPTIONAL
    DefaultAuthType => {
      Mode => 'API_KEY'
      , # values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT; OPTIONAL
      Settings => {
        CognitoUserPoolId  => 'My__string',
        Description        => 'My__string',
        ExpirationTime     => 1,              # OPTIONAL
        OpenIDAuthTTL      => 'My__string',
        OpenIDClientId     => 'My__string',
        OpenIDIatTTL       => 'My__string',
        OpenIDIssueURL     => 'My__string',
        OpenIDProviderName => 'My__string',
      },    # OPTIONAL
    },
    Service         => 'My__string',
    TransformSchema => 'My__string',
  },
  ResourceName => 'My__string',

);

# Results:
my $AppId = $CreateBackendAPIResponse->AppId;
my $BackendEnvironmentName =
  $CreateBackendAPIResponse->BackendEnvironmentName;
my $Error     = $CreateBackendAPIResponse->Error;
my $JobId     = $CreateBackendAPIResponse->JobId;
my $Operation = $CreateBackendAPIResponse->Operation;
my $Status    = $CreateBackendAPIResponse->Status;

# Returns a L<Paws::AmplifyBackend::CreateBackendAPIResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/amplifybackend/CreateBackendAPI

ATTRIBUTES

REQUIRED AppId => Str

The app ID.

REQUIRED BackendEnvironmentName => Str

The name of the backend environment.

REQUIRED ResourceConfig => Paws::AmplifyBackend::BackendAPIResourceConfig

The resource configuration for this request.

REQUIRED ResourceName => Str

The name of this resource.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateBackendAPI in Paws::AmplifyBackend

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues