st
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SH
meters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:
"method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstre
REQUIRED> Name => Str
[Required] The name of the RestApi.
=head2 Policy => Str
A stringified JSON policy document that applies to this RestApi
regardless of the caller and Method configuration.
=head2 Accepts => Str
The content-type of the export, for example C<application/json>.
Currently C<application/json> and C<application/yaml> are supported for
C<exportType> ofC<oas30> and C<swagger
/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authori
"httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \
.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\"
n integration response header
value, a static value enclosed within a pair of single quotes, or a
JSON expression from the integration response body. The mapping key
must match the pattern of C<method
r.{name}> or
C<integration.response.body.{JSON-expression}>, where C<name> must be a
valid and unique response header name and C<JSON-expression> a valid
JSON expression without the C<$> prefix.
=h
red] The PUT request body containing external API definitions.
Currently, only OpenAPI definition JSON/YAML files are supported. The
maximum size of the API definition file is 6MB.
=head2 FailOnWar
teway import-rest-api --parameters
ignore=documentation --body 'file:///path/to/imported-api-body.json'>.
=head2 B<REQUIRED> RestApiId => Str
[Required] The string identifier of the associated Res
for any payload size.
=head2 Name => Str
The API's name.
=head2 Policy => Str
A stringified JSON policy document that applies to this RestApi
regardless of the caller and Method configuration.
a => Str
The schema for the model. For C<application/json> models, this should
be JSON schema draft 4
(https://tools.ietf.org/html/draft-zyp-json-schema-04) model.
=head1 SEE ALSO
This class for
a => Str
The schema for the model. For C<application/json> models, this should
be JSON schema draft 4
(https://tools.ietf.org/html/draft-zyp-json-schema-04) model. Do not
include "\*/" characters in
ay representing the to-be-imported documentation
parts. To import from an OpenAPI file, this is a JSON object.
=head2 FailOnWarnings => Bool
A query parameter to specify whether to rollback the do
n integration response header
value, a static value enclosed within a pair of single quotes, or a
JSON expression from the integration response body. The mapping key
must match the pattern of C<method
er.{name}> or
C<integration.response.body.{JSON-expression}>, where C<name> is a
valid and unique response header name and C<JSON-expression> is a valid
JSON expression without the C<$> prefix.
=hea
n the
ID.
=head2 Policy => L<Paws::Glacier::DataRetrievalPolicy>
The data retrieval policy in JSON format.
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for method S
ll> if the vault lock is in a C<Locked> state.
=head2 Policy => Str
The vault lock policy as a JSON string, which uses "\" as an escape
character.
=head2 State => Str
The state of the vault lock
teJob> request when initiating a job to retrieve a vault
inventory. Valid values are C<CSV> and C<JSON>.
=head2 Limit => Str
The maximum number of inventory items returned per vault inventory
retri
in the ID.
=head2 Policy => L<Paws::Glacier::VaultAccessPolicy>
The vault access policy as a JSON string.
=head2 B<REQUIRED> VaultName => Str
The name of the vault.
=head1 SEE ALSO
This
d1 ATTRIBUTES
=head2 ProvisionedCapacityList => ArrayRef[L<Paws::Glacier::ProvisionedCapacityDescription>]
The response body contains the following JSON fields.
=head2 _request_id => Str
=cut
ou
are initiating an inventory job and do not specify a Format field, JSON
is the default format. Valid values are "CSV" and "JSON".
=head2 InventoryRetrievalParameters => L<Paws::Glacier::Inventory
::GetVaultAccessPolicyOutput
=head1 ATTRIBUTES
=head2 Policy => L<Paws::Glacier::VaultAccessPolicy>
Contains the returned vault access policy as a JSON string.
=head2 _request_id => Str
=cut
of API-specific key-value pairs describing the targeted
API entity. The map must be encoded as a JSON string, e.g., C<"{
\"description\": \"The API does ...\" }">. Only OpenAPI-compliant
documentatio
t defined $v);
return $a eq $v;
},
notEquals => sub {
# in the sample json, notEqual region's is always null
# this needs review
my ( $a, $v ) = @_;