![]() |
![]()
| ![]() |
![]()
NAMEPaws::AppSync::CreateGraphqlApi - Arguments for method CreateGraphqlApi on Paws::AppSync DESCRIPTIONThis class represents the parameters used for calling the method CreateGraphqlApi on the AWS AppSync service. Use the attributes of this class as arguments to method CreateGraphqlApi. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGraphqlApi. SYNOPSISmy $appsync = Paws->service('AppSync'); my $CreateGraphqlApiResponse = $appsync->CreateGraphqlApi( AuthenticationType => 'API_KEY', Name => 'MyString', AdditionalAuthenticationProviders => [ { AuthenticationType => 'API_KEY' , # values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT OpenIDConnectConfig => { Issuer => 'MyString', AuthTTL => 1, # OPTIONAL ClientId => 'MyString', IatTTL => 1, # OPTIONAL }, # OPTIONAL UserPoolConfig => { AwsRegion => 'MyString', UserPoolId => 'MyString', AppIdClientRegex => 'MyString', }, # OPTIONAL }, ... ], # OPTIONAL LogConfig => { CloudWatchLogsRoleArn => 'MyString', FieldLogLevel => 'NONE', # values: NONE, ERROR, ALL ExcludeVerboseContent => 1, # OPTIONAL }, # OPTIONAL OpenIDConnectConfig => { Issuer => 'MyString', AuthTTL => 1, # OPTIONAL ClientId => 'MyString', IatTTL => 1, # OPTIONAL }, # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL UserPoolConfig => { AwsRegion => 'MyString', DefaultAction => 'ALLOW', # values: ALLOW, DENY UserPoolId => 'MyString', AppIdClientRegex => 'MyString', }, # OPTIONAL XrayEnabled => 1, # OPTIONAL ); # Results: my $GraphqlApi = $CreateGraphqlApiResponse->GraphqlApi; # Returns a L<Paws::AppSync::CreateGraphqlApiResponse> 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/appsync/CreateGraphqlApi> ATTRIBUTESAdditionalAuthenticationProviders => ArrayRef[Paws::AppSync::AdditionalAuthenticationProvider]A list of additional authentication providers for the "GraphqlApi" API. REQUIRED AuthenticationType => StrThe authentication type: API key, AWS IAM, OIDC, or Amazon Cognito user pools. Valid values are: "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT" LogConfig => Paws::AppSync::LogConfigThe Amazon CloudWatch Logs configuration. REQUIRED Name => StrA user-supplied name for the "GraphqlApi". OpenIDConnectConfig => Paws::AppSync::OpenIDConnectConfigThe OpenID Connect configuration. Tags => Paws::AppSync::TagMapA "TagMap" object. UserPoolConfig => Paws::AppSync::UserPoolConfigThe Amazon Cognito user pool configuration. XrayEnabled => BoolA flag indicating whether to enable X-Ray tracing for the "GraphqlApi". SEE ALSOThis class forms part of Paws, documenting arguments for method CreateGraphqlApi in Paws::AppSync BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|