Release v1.42.51 (2022-02-10) (#4275)
Release v1.42.51 (2022-02-10)
===
### Service Client Updates
* `service/cloudformation`: Updates service API
* This SDK release adds AWS CloudFormation Hooks HandlerErrorCodes
* `service/lookoutvision`: Updates service API and documentation
* `service/pinpoint`: Updates service API and documentation
* This SDK release adds a new paramater creation date for GetApp and GetApps Api call
* `service/sns`: Updates service documentation
* Customer requested typo fix in API documentation.
* `service/wafv2`: Updates service API and documentation
aws-sdk-go-automation authored 2 years ago
GitHub committed 2 years ago
0 | Release v1.42.51 (2022-02-10) | |
1 | === | |
2 | ||
3 | ### Service Client Updates | |
4 | * `service/cloudformation`: Updates service API | |
5 | * This SDK release adds AWS CloudFormation Hooks HandlerErrorCodes | |
6 | * `service/lookoutvision`: Updates service API and documentation | |
7 | * `service/pinpoint`: Updates service API and documentation | |
8 | * This SDK release adds a new paramater creation date for GetApp and GetApps Api call | |
9 | * `service/sns`: Updates service documentation | |
10 | * Customer requested typo fix in API documentation. | |
11 | * `service/wafv2`: Updates service API and documentation | |
12 | ||
0 | 13 | Release v1.42.50 (2022-02-09) |
1 | 14 | === |
2 | 15 |
20669 | 20669 | Region: "ap-northeast-2", |
20670 | 20670 | }: endpoint{}, |
20671 | 20671 | endpointKey{ |
20672 | Region: "ap-northeast-3", | |
20673 | }: endpoint{}, | |
20674 | endpointKey{ | |
20672 | 20675 | Region: "ap-south-1", |
20673 | 20676 | }: endpoint{}, |
20674 | 20677 | endpointKey{ |
4 | 4 | const SDKName = "aws-sdk-go" |
5 | 5 | |
6 | 6 | // SDKVersion is the version of this SDK |
7 | const SDKVersion = "1.42.50" | |
7 | const SDKVersion = "1.42.51" |
2114 | 2114 | "ServiceInternalError", |
2115 | 2115 | "NetworkFailure", |
2116 | 2116 | "InternalFailure", |
2117 | "InvalidTypeConfiguration" | |
2117 | "InvalidTypeConfiguration", | |
2118 | "HandlerInternalFailure", | |
2119 | "NonCompliant", | |
2120 | "Unknown" | |
2118 | 2121 | ] |
2119 | 2122 | }, |
2120 | 2123 | "HookFailureMode":{ |
853 | 853 | "GreengrassConfiguration":{ |
854 | 854 | "type":"structure", |
855 | 855 | "required":[ |
856 | "CompilerOptions", | |
857 | 856 | "S3OutputLocation", |
858 | 857 | "ComponentName" |
859 | 858 | ], |
18 | 18 | "ListProjects": "<p>Lists the Amazon Lookout for Vision projects in your AWS account.</p> <p>The <code>ListProjects</code> operation is eventually consistent. Recent calls to <code>CreateProject</code> and <code>DeleteProject</code> might take a while to appear in the response from <code>ListProjects</code>.</p> <p>This operation requires permissions to perform the <code>lookoutvision:ListProjects</code> operation.</p>", |
19 | 19 | "ListTagsForResource": "<p>Returns a list of tags attached to the specified Amazon Lookout for Vision model.</p> <p>This operation requires permissions to perform the <code>lookoutvision:ListTagsForResource</code> operation.</p>", |
20 | 20 | "StartModel": "<p>Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while to complete. To check the current state of the model, use <a>DescribeModel</a>.</p> <p>A model is ready to use when its status is <code>HOSTED</code>.</p> <p>Once the model is running, you can detect custom labels in new images by calling <a>DetectAnomalies</a>.</p> <note> <p>You are charged for the amount of time that the model is running. To stop a running model, call <a>StopModel</a>.</p> </note> <p>This operation requires permissions to perform the <code>lookoutvision:StartModel</code> operation.</p>", |
21 | "StartModelPackagingJob": "<p>Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. </p> <p>Use the <a>DescribeModelPackagingJob</a> API to determine the current status of the job. The model packaging job is complete if the value of <code>Status</code> is <code>SUCCEEDED</code>.</p> <p>To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass <a href=\"https://docs.aws.amazon.com/greengrass/v2/APIReference/API_CreateDeployment.html\">CreateDeployment</a> API.</p> <p>This operation requires the following permissions:</p> <ul> <li> <p> <code>lookoutvision:StartModelPackagingJobs</code> </p> </li> <li> <p> <code>s3:PutObject</code> </p> </li> <li> <p> <code>s3:GetBucketLocation</code> </p> </li> <li> <p> <code>greengrass:CreateComponentVersion</code> </p> </li> <li> <p> <code>greengrass:DescribeComponent</code> </p> </li> <li> <p>(Optional) <code>greengrass:TagResource</code>. Only required if you want to tag the component.</p> </li> </ul> <p>For more information, see <i>Using your Amazon Lookout for Vision model on an edge device</i> in the Amazon Lookout for Vision Developer Guide. </p>", | |
21 | "StartModelPackagingJob": "<p>Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. </p> <p>Use the <a>DescribeModelPackagingJob</a> API to determine the current status of the job. The model packaging job is complete if the value of <code>Status</code> is <code>SUCCEEDED</code>.</p> <p>To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass <a href=\"https://docs.aws.amazon.com/greengrass/v2/APIReference/API_CreateDeployment.html\">CreateDeployment</a> API.</p> <p>This operation requires the following permissions:</p> <ul> <li> <p> <code>lookoutvision:StartModelPackagingJob</code> </p> </li> <li> <p> <code>s3:PutObject</code> </p> </li> <li> <p> <code>s3:GetBucketLocation</code> </p> </li> <li> <p> <code>greengrass:CreateComponentVersion</code> </p> </li> <li> <p> <code>greengrass:DescribeComponent</code> </p> </li> <li> <p>(Optional) <code>greengrass:TagResource</code>. Only required if you want to tag the component.</p> </li> </ul> <p>For more information, see <i>Using your Amazon Lookout for Vision model on an edge device</i> in the Amazon Lookout for Vision Developer Guide. </p>", | |
22 | 22 | "StopModel": "<p>Stops the hosting of a running model. The operation might take a while to complete. To check the current status, call <a>DescribeModel</a>. </p> <p>After the model hosting stops, the <code>Status</code> of the model is <code>TRAINED</code>.</p> <p>This operation requires permissions to perform the <code>lookoutvision:StopModel</code> operation.</p>", |
23 | 23 | "TagResource": "<p>Adds one or more key-value tags to an Amazon Lookout for Vision model. For more information, see <i>Tagging a model</i> in the <i>Amazon Lookout for Vision Developer Guide</i>. </p> <p>This operation requires permissions to perform the <code>lookoutvision:TagResource</code> operation.</p>", |
24 | 24 | "UntagResource": "<p>Removes one or more tags from an Amazon Lookout for Vision model. For more information, see <i>Tagging a model</i> in the <i>Amazon Lookout for Vision Developer Guide</i>. </p> <p>This operation requires permissions to perform the <code>lookoutvision:UntagResource</code> operation.</p>", |
60 | 60 | "CompilerOptions": { |
61 | 61 | "base": null, |
62 | 62 | "refs": { |
63 | "GreengrassConfiguration$CompilerOptions": "<p>Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported.</p> <p>For more information, see <i>Compiler options</i> in the Amazon Lookout for Vision Developer Guide. </p>" | |
63 | "GreengrassConfiguration$CompilerOptions": "<p>Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported. If you specify <code>TargetPlatform</code>, you must specify <code>CompilerOptions</code>. If you specify <code>TargetDevice</code>, don't specify <code>CompilerOptions</code>.</p> <p>For more information, see <i>Compiler options</i> in the Amazon Lookout for Vision Developer Guide. </p>" | |
64 | 64 | } |
65 | 65 | }, |
66 | 66 | "ComponentDescription": { |
5013 | 5013 | "tags": { |
5014 | 5014 | "shape": "MapOf__string", |
5015 | 5015 | "locationName": "tags" |
5016 | }, | |
5017 | "CreationDate": { | |
5018 | "shape": "__string" | |
5016 | 5019 | } |
5017 | 5020 | }, |
5018 | 5021 | "required": [ |
2062 | 2062 | "ApplicationResponse$Arn" : "<p>The Amazon Resource Name (ARN) of the application.</p>", |
2063 | 2063 | "ApplicationResponse$Id" : "<p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>", |
2064 | 2064 | "ApplicationResponse$Name" : "<p>The display name of the application. This name is displayed as the <b>Project name</b> on the Amazon Pinpoint console.</p>", |
2065 | "ApplicationResponse$CreationDate" : "<p>The date and time when the Application was created.</p>", | |
2065 | 2066 | "ApplicationSettingsResource$ApplicationId" : "<p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>", |
2066 | 2067 | "ApplicationSettingsResource$LastModifiedDate" : "<p>The date and time, in ISO 8601 format, when the application's settings were last modified.</p>", |
2067 | 2068 | "ApplicationsResponse$NextToken" : "<p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>", |
2567 | 2568 | } |
2568 | 2569 | } |
2569 | 2570 | } |
2570 | }⏎ | |
2571 | } |
28 | 28 | "ListTagsForResource": "<p>List all tags added to the specified Amazon SNS topic. For an overview, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/sns-tags.html\">Amazon SNS Tags</a> in the <i>Amazon Simple Notification Service Developer Guide</i>.</p>", |
29 | 29 | "ListTopics": "<p>Returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in a new <code>ListTopics</code> call to get further results.</p> <p>This action is throttled at 30 transactions per second (TPS).</p>", |
30 | 30 | "OptInPhoneNumber": "<p>Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.</p> <p>You can opt in a phone number only once every 30 days.</p>", |
31 | "Publish": "<p>Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the <code>TargetArn</code>).</p> <p>If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint.</p> <p>When a <code>messageId</code> is returned, the message is saved and Amazon SNS immediately deliverers it to subscribers.</p> <p>To use the <code>Publish</code> action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the <code>CreatePlatformEndpoint</code> action. </p> <p>For more information about formatting messages, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-custommessage.html\">Send Custom Platform-Specific Payloads in Messages to Mobile Devices</a>. </p> <important> <p>You can publish messages only to topics and endpoints in the same Amazon Web Services Region.</p> </important>", | |
31 | "Publish": "<p>Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the <code>TargetArn</code>).</p> <p>If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint.</p> <p>When a <code>messageId</code> is returned, the message is saved and Amazon SNS immediately delivers it to subscribers.</p> <p>To use the <code>Publish</code> action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the <code>CreatePlatformEndpoint</code> action. </p> <p>For more information about formatting messages, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-custommessage.html\">Send Custom Platform-Specific Payloads in Messages to Mobile Devices</a>. </p> <important> <p>You can publish messages only to topics and endpoints in the same Amazon Web Services Region.</p> </important>", | |
32 | 32 | "PublishBatch": "<p>Publishes up to ten messages to the specified topic. This is a batch version of <code>Publish</code>. For FIFO topics, multiple messages within a single batch are published in the order they are sent, and messages are deduplicated within the batch and across batches for 5 minutes.</p> <p>The result of publishing each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of <code>200</code>.</p> <p>The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KB (262,144 bytes). </p> <p>Some actions take lists of parameters. These lists are specified using the <code>param.n</code> notation. Values of <code>n</code> are integers starting from 1. For example, a parameter list with two elements looks like this: </p> <p>&AttributeName.1=first</p> <p>&AttributeName.2=second</p> <p>If you send a batch message to a topic, Amazon SNS publishes the batch message to each endpoint that is subscribed to the topic. The format of the batch message depends on the notification protocol for each subscribed endpoint.</p> <p>When a <code>messageId</code> is returned, the batch message is saved and Amazon SNS immediately delivers the message to subscribers.</p>", |
33 | 33 | "RemovePermission": "<p>Removes a statement from a topic's access control policy.</p>", |
34 | 34 | "SetEndpointAttributes": "<p>Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM (Firebase Cloud Messaging) and APNS. For more information, see <a href=\"https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>", |
284 | 284 | {"shape":"WAFInvalidOperationException"} |
285 | 285 | ] |
286 | 286 | }, |
287 | "GenerateMobileSdkReleaseUrl":{ | |
288 | "name":"GenerateMobileSdkReleaseUrl", | |
289 | "http":{ | |
290 | "method":"POST", | |
291 | "requestUri":"/" | |
292 | }, | |
293 | "input":{"shape":"GenerateMobileSdkReleaseUrlRequest"}, | |
294 | "output":{"shape":"GenerateMobileSdkReleaseUrlResponse"}, | |
295 | "errors":[ | |
296 | {"shape":"WAFInternalErrorException"}, | |
297 | {"shape":"WAFNonexistentItemException"}, | |
298 | {"shape":"WAFInvalidParameterException"}, | |
299 | {"shape":"WAFInvalidOperationException"} | |
300 | ] | |
301 | }, | |
287 | 302 | "GetIPSet":{ |
288 | 303 | "name":"GetIPSet", |
289 | 304 | "http":{ |
329 | 344 | {"shape":"WAFInvalidOperationException"} |
330 | 345 | ] |
331 | 346 | }, |
347 | "GetMobileSdkRelease":{ | |
348 | "name":"GetMobileSdkRelease", | |
349 | "http":{ | |
350 | "method":"POST", | |
351 | "requestUri":"/" | |
352 | }, | |
353 | "input":{"shape":"GetMobileSdkReleaseRequest"}, | |
354 | "output":{"shape":"GetMobileSdkReleaseResponse"}, | |
355 | "errors":[ | |
356 | {"shape":"WAFInternalErrorException"}, | |
357 | {"shape":"WAFNonexistentItemException"}, | |
358 | {"shape":"WAFInvalidParameterException"}, | |
359 | {"shape":"WAFInvalidOperationException"} | |
360 | ] | |
361 | }, | |
332 | 362 | "GetPermissionPolicy":{ |
333 | 363 | "name":"GetPermissionPolicy", |
334 | 364 | "http":{ |
497 | 527 | }, |
498 | 528 | "input":{"shape":"ListManagedRuleSetsRequest"}, |
499 | 529 | "output":{"shape":"ListManagedRuleSetsResponse"}, |
530 | "errors":[ | |
531 | {"shape":"WAFInternalErrorException"}, | |
532 | {"shape":"WAFInvalidParameterException"}, | |
533 | {"shape":"WAFInvalidOperationException"} | |
534 | ] | |
535 | }, | |
536 | "ListMobileSdkReleases":{ | |
537 | "name":"ListMobileSdkReleases", | |
538 | "http":{ | |
539 | "method":"POST", | |
540 | "requestUri":"/" | |
541 | }, | |
542 | "input":{"shape":"ListMobileSdkReleasesRequest"}, | |
543 | "output":{"shape":"ListMobileSdkReleasesResponse"}, | |
500 | 544 | "errors":[ |
501 | 545 | {"shape":"WAFInternalErrorException"}, |
502 | 546 | {"shape":"WAFInvalidParameterException"}, |
1506 | 1550 | "members":{ |
1507 | 1551 | } |
1508 | 1552 | }, |
1553 | "DownloadUrl":{"type":"string"}, | |
1509 | 1554 | "EntityDescription":{ |
1510 | 1555 | "type":"string", |
1511 | 1556 | "max":256, |
1550 | 1595 | "MATCH", |
1551 | 1596 | "NO_MATCH" |
1552 | 1597 | ] |
1598 | }, | |
1599 | "FieldIdentifier":{ | |
1600 | "type":"string", | |
1601 | "max":512, | |
1602 | "min":1, | |
1603 | "pattern":".*\\S.*" | |
1553 | 1604 | }, |
1554 | 1605 | "FieldToMatch":{ |
1555 | 1606 | "type":"structure", |
1655 | 1706 | "ANY" |
1656 | 1707 | ] |
1657 | 1708 | }, |
1709 | "GenerateMobileSdkReleaseUrlRequest":{ | |
1710 | "type":"structure", | |
1711 | "required":[ | |
1712 | "Platform", | |
1713 | "ReleaseVersion" | |
1714 | ], | |
1715 | "members":{ | |
1716 | "Platform":{"shape":"Platform"}, | |
1717 | "ReleaseVersion":{"shape":"VersionKeyString"} | |
1718 | } | |
1719 | }, | |
1720 | "GenerateMobileSdkReleaseUrlResponse":{ | |
1721 | "type":"structure", | |
1722 | "members":{ | |
1723 | "Url":{"shape":"DownloadUrl"} | |
1724 | } | |
1725 | }, | |
1658 | 1726 | "GeoMatchStatement":{ |
1659 | 1727 | "type":"structure", |
1660 | 1728 | "members":{ |
1713 | 1781 | "members":{ |
1714 | 1782 | "ManagedRuleSet":{"shape":"ManagedRuleSet"}, |
1715 | 1783 | "LockToken":{"shape":"LockToken"} |
1784 | } | |
1785 | }, | |
1786 | "GetMobileSdkReleaseRequest":{ | |
1787 | "type":"structure", | |
1788 | "required":[ | |
1789 | "Platform", | |
1790 | "ReleaseVersion" | |
1791 | ], | |
1792 | "members":{ | |
1793 | "Platform":{"shape":"Platform"}, | |
1794 | "ReleaseVersion":{"shape":"VersionKeyString"} | |
1795 | } | |
1796 | }, | |
1797 | "GetMobileSdkReleaseResponse":{ | |
1798 | "type":"structure", | |
1799 | "members":{ | |
1800 | "MobileSdkRelease":{"shape":"MobileSdkRelease"} | |
1716 | 1801 | } |
1717 | 1802 | }, |
1718 | 1803 | "GetPermissionPolicyRequest":{ |
1842 | 1927 | "type":"structure", |
1843 | 1928 | "members":{ |
1844 | 1929 | "WebACL":{"shape":"WebACL"}, |
1845 | "LockToken":{"shape":"LockToken"} | |
1930 | "LockToken":{"shape":"LockToken"}, | |
1931 | "ApplicationIntegrationURL":{"shape":"OutputUrl"} | |
1846 | 1932 | } |
1847 | 1933 | }, |
1848 | 1934 | "HTTPHeader":{ |
2136 | 2222 | "max":500, |
2137 | 2223 | "min":1 |
2138 | 2224 | }, |
2225 | "ListMobileSdkReleasesRequest":{ | |
2226 | "type":"structure", | |
2227 | "required":["Platform"], | |
2228 | "members":{ | |
2229 | "Platform":{"shape":"Platform"}, | |
2230 | "NextMarker":{"shape":"NextMarker"}, | |
2231 | "Limit":{"shape":"PaginationLimit"} | |
2232 | } | |
2233 | }, | |
2234 | "ListMobileSdkReleasesResponse":{ | |
2235 | "type":"structure", | |
2236 | "members":{ | |
2237 | "ReleaseSummaries":{"shape":"ReleaseSummaries"}, | |
2238 | "NextMarker":{"shape":"NextMarker"} | |
2239 | } | |
2240 | }, | |
2139 | 2241 | "ListRegexPatternSetsRequest":{ |
2140 | 2242 | "type":"structure", |
2141 | 2243 | "required":["Scope"], |
2255 | 2357 | "DefaultBehavior":{"shape":"FilterBehavior"} |
2256 | 2358 | } |
2257 | 2359 | }, |
2360 | "LoginPathString":{ | |
2361 | "type":"string", | |
2362 | "max":256, | |
2363 | "min":1, | |
2364 | "pattern":".*\\S.*" | |
2365 | }, | |
2366 | "ManagedRuleGroupConfig":{ | |
2367 | "type":"structure", | |
2368 | "members":{ | |
2369 | "LoginPath":{"shape":"LoginPathString"}, | |
2370 | "PayloadType":{"shape":"PayloadType"}, | |
2371 | "UsernameField":{"shape":"UsernameField"}, | |
2372 | "PasswordField":{"shape":"PasswordField"} | |
2373 | } | |
2374 | }, | |
2375 | "ManagedRuleGroupConfigs":{ | |
2376 | "type":"list", | |
2377 | "member":{"shape":"ManagedRuleGroupConfig"}, | |
2378 | "min":1 | |
2379 | }, | |
2258 | 2380 | "ManagedRuleGroupStatement":{ |
2259 | 2381 | "type":"structure", |
2260 | 2382 | "required":[ |
2266 | 2388 | "Name":{"shape":"EntityName"}, |
2267 | 2389 | "Version":{"shape":"VersionKeyString"}, |
2268 | 2390 | "ExcludedRules":{"shape":"ExcludedRules"}, |
2269 | "ScopeDownStatement":{"shape":"Statement"} | |
2391 | "ScopeDownStatement":{"shape":"Statement"}, | |
2392 | "ManagedRuleGroupConfigs":{"shape":"ManagedRuleGroupConfigs"} | |
2270 | 2393 | } |
2271 | 2394 | }, |
2272 | 2395 | "ManagedRuleGroupSummaries":{ |
2346 | 2469 | "min":1, |
2347 | 2470 | "pattern":"^[\\w#:\\.\\-/]+$" |
2348 | 2471 | }, |
2472 | "MobileSdkRelease":{ | |
2473 | "type":"structure", | |
2474 | "members":{ | |
2475 | "ReleaseVersion":{"shape":"VersionKeyString"}, | |
2476 | "Timestamp":{"shape":"Timestamp"}, | |
2477 | "ReleaseNotes":{"shape":"ReleaseNotes"}, | |
2478 | "Tags":{"shape":"TagList"} | |
2479 | } | |
2480 | }, | |
2349 | 2481 | "NextMarker":{ |
2350 | 2482 | "type":"string", |
2351 | 2483 | "max":256, |
2371 | 2503 | "Statements":{"shape":"Statements"} |
2372 | 2504 | } |
2373 | 2505 | }, |
2506 | "OutputUrl":{"type":"string"}, | |
2374 | 2507 | "OverrideAction":{ |
2375 | 2508 | "type":"structure", |
2376 | 2509 | "members":{ |
2442 | 2575 | "EXPIRE_TIMESTAMP", |
2443 | 2576 | "CHANGE_PROPAGATION_STATUS", |
2444 | 2577 | "ASSOCIABLE_RESOURCE", |
2445 | "LOG_DESTINATION" | |
2578 | "LOG_DESTINATION", | |
2579 | "MANAGED_RULE_GROUP_CONFIG", | |
2580 | "PAYLOAD_TYPE" | |
2446 | 2581 | ] |
2447 | 2582 | }, |
2448 | 2583 | "ParameterExceptionParameter":{ |
2449 | 2584 | "type":"string", |
2450 | 2585 | "min":1 |
2586 | }, | |
2587 | "PasswordField":{ | |
2588 | "type":"structure", | |
2589 | "required":["Identifier"], | |
2590 | "members":{ | |
2591 | "Identifier":{"shape":"FieldIdentifier"} | |
2592 | } | |
2593 | }, | |
2594 | "PayloadType":{ | |
2595 | "type":"string", | |
2596 | "enum":[ | |
2597 | "JSON", | |
2598 | "FORM_ENCODED" | |
2599 | ] | |
2600 | }, | |
2601 | "Platform":{ | |
2602 | "type":"string", | |
2603 | "enum":[ | |
2604 | "IOS", | |
2605 | "ANDROID" | |
2606 | ] | |
2451 | 2607 | }, |
2452 | 2608 | "PolicyString":{ |
2453 | 2609 | "type":"string", |
2630 | 2786 | "RegularExpressionList":{ |
2631 | 2787 | "type":"list", |
2632 | 2788 | "member":{"shape":"Regex"} |
2789 | }, | |
2790 | "ReleaseNotes":{"type":"string"}, | |
2791 | "ReleaseSummaries":{ | |
2792 | "type":"list", | |
2793 | "member":{"shape":"ReleaseSummary"} | |
2794 | }, | |
2795 | "ReleaseSummary":{ | |
2796 | "type":"structure", | |
2797 | "members":{ | |
2798 | "ReleaseVersion":{"shape":"VersionKeyString"}, | |
2799 | "Timestamp":{"shape":"Timestamp"} | |
2800 | } | |
2633 | 2801 | }, |
2634 | 2802 | "ResourceArn":{ |
2635 | 2803 | "type":"string", |
3140 | 3308 | "members":{ |
3141 | 3309 | } |
3142 | 3310 | }, |
3311 | "UsernameField":{ | |
3312 | "type":"structure", | |
3313 | "required":["Identifier"], | |
3314 | "members":{ | |
3315 | "Identifier":{"shape":"FieldIdentifier"} | |
3316 | } | |
3317 | }, | |
3143 | 3318 | "VendorName":{ |
3144 | 3319 | "type":"string", |
3145 | 3320 | "max":128, |
16 | 16 | "DeleteWebACL": "<p>Deletes the specified <a>WebACL</a>.</p> <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified <a>WebACL</a>. </p>", |
17 | 17 | "DescribeManagedRuleGroup": "<p>Provides high-level information for a managed rule group, including descriptions of the rules. </p>", |
18 | 18 | "DisassociateWebACL": "<p>Disassociates a web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p> <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To disassociate a web ACL, provide an empty web ACL ID in the CloudFront call <code>UpdateDistribution</code>. For information, see <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html\">UpdateDistribution</a>.</p>", |
19 | "GenerateMobileSdkReleaseUrl": "<p>Generates a presigned download URL for the specified release of the mobile SDK.</p> <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. </p>", | |
19 | 20 | "GetIPSet": "<p>Retrieves the specified <a>IPSet</a>.</p>", |
20 | 21 | "GetLoggingConfiguration": "<p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>", |
21 | 22 | "GetManagedRuleSet": "<p>Retrieves the specified managed rule set. </p> <note> <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p> <p>Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are <code>ListManagedRuleSets</code>, <code>GetManagedRuleSet</code>, <code>PutManagedRuleSetVersions</code>, and <code>UpdateManagedRuleSetVersionExpiryDate</code>.</p> </note>", |
23 | "GetMobileSdkRelease": "<p>Retrieves information for the specified mobile SDK release, including release notes and tags.</p> <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. </p>", | |
22 | 24 | "GetPermissionPolicy": "<p>Returns the IAM policy that is attached to the specified rule group.</p> <p>You must be the owner of the rule group to perform this operation.</p>", |
23 | 25 | "GetRateBasedStatementManagedKeys": "<p>Retrieves the keys that are currently blocked by a rate-based rule instance. The maximum number of managed keys that can be blocked for a single rate-based rule instance is 10,000. If more than 10,000 addresses exceed the rate limit, those with the highest rates are blocked.</p> <p>For a rate-based rule that you've defined inside a rule group, provide the name of the rule group reference statement in your request, in addition to the rate-based rule name and the web ACL name. </p> <p>WAF monitors web requests and manages keys independently for each unique combination of web ACL, optional rule group, and rate-based rule. For example, if you define a rate-based rule inside a rule group, and then use the rule group in a web ACL, WAF monitors web requests and manages keys for that web ACL, rule group reference statement, and rate-based rule instance. If you use the same rule group in a second web ACL, WAF monitors web requests and manages keys for this second usage completely independent of your first. </p>", |
24 | 26 | "GetRegexPatternSet": "<p>Retrieves the specified <a>RegexPatternSet</a>.</p>", |
31 | 33 | "ListIPSets": "<p>Retrieves an array of <a>IPSetSummary</a> objects for the IP sets that you manage.</p>", |
32 | 34 | "ListLoggingConfigurations": "<p>Retrieves an array of your <a>LoggingConfiguration</a> objects.</p>", |
33 | 35 | "ListManagedRuleSets": "<p>Retrieves the managed rule sets that you own. </p> <note> <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p> <p>Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are <code>ListManagedRuleSets</code>, <code>GetManagedRuleSet</code>, <code>PutManagedRuleSetVersions</code>, and <code>UpdateManagedRuleSetVersionExpiryDate</code>.</p> </note>", |
36 | "ListMobileSdkReleases": "<p>Retrieves a list of the available releases for the mobile SDK and the specified device platform. </p> <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. </p>", | |
34 | 37 | "ListRegexPatternSets": "<p>Retrieves an array of <a>RegexPatternSetSummary</a> objects for the regex pattern sets that you manage.</p>", |
35 | 38 | "ListResourcesForWebACL": "<p>Retrieves an array of the Amazon Resource Names (ARNs) for the regional resources that are associated with the specified web ACL. If you want the list of Amazon CloudFront resources, use the CloudFront call <code>ListDistributionsByWebACLId</code>. </p>", |
36 | 39 | "ListRuleGroups": "<p>Retrieves an array of <a>RuleGroupSummary</a> objects for the rule groups that you manage. </p>", |
417 | 420 | "DisassociateWebACLResponse": { |
418 | 421 | "base": null, |
419 | 422 | "refs": { |
423 | } | |
424 | }, | |
425 | "DownloadUrl": { | |
426 | "base": null, | |
427 | "refs": { | |
428 | "GenerateMobileSdkReleaseUrlResponse$Url": "<p>The presigned download URL for the specified SDK release.</p>" | |
420 | 429 | } |
421 | 430 | }, |
422 | 431 | "EntityDescription": { |
576 | 585 | "IPSetForwardedIPConfig$FallbackBehavior": "<p>The match status to assign to the web request if the request doesn't have a valid IP address in the specified position.</p> <note> <p>If the specified header isn't present in the request, WAF doesn't apply the rule to the web request at all.</p> </note> <p>You can specify the following fallback behaviors:</p> <ul> <li> <p> <code>MATCH</code> - Treat the web request as matching the rule statement. WAF applies the rule action to the request.</p> </li> <li> <p> <code>NO_MATCH</code> - Treat the web request as not matching the rule statement.</p> </li> </ul>" |
577 | 586 | } |
578 | 587 | }, |
588 | "FieldIdentifier": { | |
589 | "base": null, | |
590 | "refs": { | |
591 | "PasswordField$Identifier": "<p>The name of the password field. For example <code>/form/password</code>.</p>", | |
592 | "UsernameField$Identifier": "<p>The name of the username field. For example <code>/form/username</code>.</p>" | |
593 | } | |
594 | }, | |
579 | 595 | "FieldToMatch": { |
580 | 596 | "base": "<p>The part of a web request that you want WAF to inspect. Include the single <code>FieldToMatch</code> type that you want to inspect, with additional specifications as needed, according to the type. You specify a single request component in <code>FieldToMatch</code> for each rule statement that requires it. To inspect more than one component of a web request, create a separate rule statement for each component.</p> <p>JSON specification for a <code>QueryString</code> field to match: </p> <p> <code> \"FieldToMatch\": { \"QueryString\": {} }</code> </p> <p>Example JSON for a <code>Method</code> field to match specification:</p> <p> <code> \"FieldToMatch\": { \"Method\": { \"Name\": \"DELETE\" } }</code> </p>", |
581 | 597 | "refs": { |
659 | 675 | "IPSetForwardedIPConfig$Position": "<p>The position in the header to search for the IP address. The header can contain IP addresses of the original client and also of proxies. For example, the header value could be <code>10.1.1.1, 127.0.0.0, 10.10.10.10</code> where the first IP address identifies the original client and the rest identify proxies that the request went through. </p> <p>The options for this setting are the following: </p> <ul> <li> <p>FIRST - Inspect the first IP address in the list of IP addresses in the header. This is usually the client's original IP.</p> </li> <li> <p>LAST - Inspect the last IP address in the list of IP addresses in the header.</p> </li> <li> <p>ANY - Inspect all IP addresses in the header for a match. If the header contains more than 10 IP addresses, WAF inspects the last 10.</p> </li> </ul>" |
660 | 676 | } |
661 | 677 | }, |
678 | "GenerateMobileSdkReleaseUrlRequest": { | |
679 | "base": null, | |
680 | "refs": { | |
681 | } | |
682 | }, | |
683 | "GenerateMobileSdkReleaseUrlResponse": { | |
684 | "base": null, | |
685 | "refs": { | |
686 | } | |
687 | }, | |
662 | 688 | "GeoMatchStatement": { |
663 | 689 | "base": "<p>A rule statement used to identify web requests based on country of origin. </p>", |
664 | 690 | "refs": { |
691 | 717 | } |
692 | 718 | }, |
693 | 719 | "GetManagedRuleSetResponse": { |
720 | "base": null, | |
721 | "refs": { | |
722 | } | |
723 | }, | |
724 | "GetMobileSdkReleaseRequest": { | |
725 | "base": null, | |
726 | "refs": { | |
727 | } | |
728 | }, | |
729 | "GetMobileSdkReleaseResponse": { | |
694 | 730 | "base": null, |
695 | 731 | "refs": { |
696 | 732 | } |
1023 | 1059 | "base": null, |
1024 | 1060 | "refs": { |
1025 | 1061 | "GetSampledRequestsRequest$MaxItems": "<p>The number of requests that you want WAF to return from among the first 5,000 requests that your Amazon Web Services resource received during the time range. If your resource received fewer requests than the value of <code>MaxItems</code>, <code>GetSampledRequests</code> returns information about all of them. </p>" |
1062 | } | |
1063 | }, | |
1064 | "ListMobileSdkReleasesRequest": { | |
1065 | "base": null, | |
1066 | "refs": { | |
1067 | } | |
1068 | }, | |
1069 | "ListMobileSdkReleasesResponse": { | |
1070 | "base": null, | |
1071 | "refs": { | |
1026 | 1072 | } |
1027 | 1073 | }, |
1028 | 1074 | "ListRegexPatternSetsRequest": { |
1135 | 1181 | "LoggingConfiguration$LoggingFilter": "<p>Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. </p>" |
1136 | 1182 | } |
1137 | 1183 | }, |
1184 | "LoginPathString": { | |
1185 | "base": null, | |
1186 | "refs": { | |
1187 | "ManagedRuleGroupConfig$LoginPath": "<p>The login endpoint for your application. For example <code>https://example.com/web/login</code>.</p>" | |
1188 | } | |
1189 | }, | |
1190 | "ManagedRuleGroupConfig": { | |
1191 | "base": "<p>Additional information that's used by a managed rule group. Most managed rule groups don't require this.</p> <p>Use this for the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>, to provide information about the sign-in page of your application. </p>", | |
1192 | "refs": { | |
1193 | "ManagedRuleGroupConfigs$member": null | |
1194 | } | |
1195 | }, | |
1196 | "ManagedRuleGroupConfigs": { | |
1197 | "base": null, | |
1198 | "refs": { | |
1199 | "ManagedRuleGroupStatement$ManagedRuleGroupConfigs": "<p>Additional information that's used by a managed rule group. Most managed rule groups don't require this.</p> <p>Use this for the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>, to provide information about the sign-in page of your application. </p>" | |
1200 | } | |
1201 | }, | |
1138 | 1202 | "ManagedRuleGroupStatement": { |
1139 | 1203 | "base": "<p>A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling <a>ListAvailableManagedRuleGroups</a>.</p> <p>You cannot nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>", |
1140 | 1204 | "refs": { |
1201 | 1265 | "refs": { |
1202 | 1266 | "GetSampledRequestsRequest$RuleMetricName": "<p>The metric name assigned to the <code>Rule</code> or <code>RuleGroup</code> for which you want a sample of requests.</p>", |
1203 | 1267 | "VisibilityConfig$MetricName": "<p>A name of the Amazon CloudWatch metric. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for WAF, for example \"All\" and \"Default_Action.\" </p>" |
1268 | } | |
1269 | }, | |
1270 | "MobileSdkRelease": { | |
1271 | "base": "<p>Information for a release of the mobile SDK, including release notes and tags.</p> <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. </p>", | |
1272 | "refs": { | |
1273 | "GetMobileSdkReleaseResponse$MobileSdkRelease": "<p>Information for a specified SDK release, including release notes and tags.</p>" | |
1204 | 1274 | } |
1205 | 1275 | }, |
1206 | 1276 | "NextMarker": { |
1216 | 1286 | "ListLoggingConfigurationsResponse$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", |
1217 | 1287 | "ListManagedRuleSetsRequest$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", |
1218 | 1288 | "ListManagedRuleSetsResponse$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", |
1289 | "ListMobileSdkReleasesRequest$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", | |
1290 | "ListMobileSdkReleasesResponse$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", | |
1219 | 1291 | "ListRegexPatternSetsRequest$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", |
1220 | 1292 | "ListRegexPatternSetsResponse$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", |
1221 | 1293 | "ListRuleGroupsRequest$NextMarker": "<p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>", |
1244 | 1316 | "Statement$OrStatement": "<p>A logical rule statement used to combine other rule statements with OR logic. You provide more than one <a>Statement</a> within the <code>OrStatement</code>. </p>" |
1245 | 1317 | } |
1246 | 1318 | }, |
1319 | "OutputUrl": { | |
1320 | "base": null, | |
1321 | "refs": { | |
1322 | "GetWebACLResponse$ApplicationIntegrationURL": "<p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html\">WAF application integration</a> in the <i>WAF Developer Guide</i>.</p>" | |
1323 | } | |
1324 | }, | |
1247 | 1325 | "OverrideAction": { |
1248 | 1326 | "base": "<p>The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only. </p> <p>You can only use this for rule statements that reference a rule group, like <code>RuleGroupReferenceStatement</code> and <code>ManagedRuleGroupStatement</code>. </p> <note> <p>This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings. </p> </note>", |
1249 | 1327 | "refs": { |
1259 | 1337 | "ListIPSetsRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", |
1260 | 1338 | "ListLoggingConfigurationsRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", |
1261 | 1339 | "ListManagedRuleSetsRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", |
1340 | "ListMobileSdkReleasesRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", | |
1262 | 1341 | "ListRegexPatternSetsRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", |
1263 | 1342 | "ListRuleGroupsRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", |
1264 | 1343 | "ListTagsForResourceRequest$Limit": "<p>The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a <code>NextMarker</code> value that you can use in a subsequent call to get the next batch of objects.</p>", |
1277 | 1356 | "WAFInvalidParameterException$Parameter": "<p>The invalid parameter that resulted in the exception. </p>" |
1278 | 1357 | } |
1279 | 1358 | }, |
1359 | "PasswordField": { | |
1360 | "base": "<p>Details about your login page password field, used in a <code>ManagedRuleGroupConfig</code>. </p>", | |
1361 | "refs": { | |
1362 | "ManagedRuleGroupConfig$PasswordField": "<p>Details about your login page password field. </p>" | |
1363 | } | |
1364 | }, | |
1365 | "PayloadType": { | |
1366 | "base": null, | |
1367 | "refs": { | |
1368 | "ManagedRuleGroupConfig$PayloadType": "<p>The payload type for your login endpoint, either JSON or form encoded.</p>" | |
1369 | } | |
1370 | }, | |
1371 | "Platform": { | |
1372 | "base": null, | |
1373 | "refs": { | |
1374 | "GenerateMobileSdkReleaseUrlRequest$Platform": "<p>The device platform.</p>", | |
1375 | "GetMobileSdkReleaseRequest$Platform": "<p>The device platform.</p>", | |
1376 | "ListMobileSdkReleasesRequest$Platform": "<p>The device platform to retrieve the list for.</p>" | |
1377 | } | |
1378 | }, | |
1280 | 1379 | "PolicyString": { |
1281 | 1380 | "base": null, |
1282 | 1381 | "refs": { |
1419 | 1518 | "CreateRegexPatternSetRequest$RegularExpressionList": "<p>Array of regular expression strings. </p>", |
1420 | 1519 | "RegexPatternSet$RegularExpressionList": "<p>The regular expression patterns in the set.</p>", |
1421 | 1520 | "UpdateRegexPatternSetRequest$RegularExpressionList": "<p/>" |
1521 | } | |
1522 | }, | |
1523 | "ReleaseNotes": { | |
1524 | "base": null, | |
1525 | "refs": { | |
1526 | "MobileSdkRelease$ReleaseNotes": "<p>Notes describing the release.</p>" | |
1527 | } | |
1528 | }, | |
1529 | "ReleaseSummaries": { | |
1530 | "base": null, | |
1531 | "refs": { | |
1532 | "ListMobileSdkReleasesResponse$ReleaseSummaries": "<p>High level information for the available SDK releases. </p>" | |
1533 | } | |
1534 | }, | |
1535 | "ReleaseSummary": { | |
1536 | "base": "<p>High level information for an SDK release. </p>", | |
1537 | "refs": { | |
1538 | "ReleaseSummaries$member": null | |
1422 | 1539 | } |
1423 | 1540 | }, |
1424 | 1541 | "ResourceArn": { |
1714 | 1831 | "CreateRegexPatternSetRequest$Tags": "<p>An array of key:value pairs to associate with the resource.</p>", |
1715 | 1832 | "CreateRuleGroupRequest$Tags": "<p>An array of key:value pairs to associate with the resource.</p>", |
1716 | 1833 | "CreateWebACLRequest$Tags": "<p>An array of key:value pairs to associate with the resource.</p>", |
1834 | "MobileSdkRelease$Tags": "<p>Tags that are associated with the release. </p>", | |
1717 | 1835 | "TagInfoForResource$TagList": "<p>The array of <a>Tag</a> objects defined for the resource. </p>", |
1718 | 1836 | "TagResourceRequest$Tags": "<p>An array of key:value pairs to associate with the resource.</p>" |
1719 | 1837 | } |
1790 | 1908 | "ManagedRuleSetVersion$PublishTimestamp": "<p>The time that you first published this version. </p> <p>Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\". </p>", |
1791 | 1909 | "ManagedRuleSetVersion$LastUpdateTimestamp": "<p>The last time that you updated this version. </p> <p>Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\". </p>", |
1792 | 1910 | "ManagedRuleSetVersion$ExpiryTimestamp": "<p>The time that this version is set to expire.</p> <p>Times are in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\". </p>", |
1911 | "MobileSdkRelease$Timestamp": "<p>The timestamp of the release. </p>", | |
1912 | "ReleaseSummary$Timestamp": "<p>The timestamp of the release. </p>", | |
1793 | 1913 | "SampledHTTPRequest$Timestamp": "<p>The time at which WAF received the request from your Amazon Web Services resource, in Unix time format (in seconds).</p>", |
1794 | 1914 | "TimeWindow$StartTime": "<p>The beginning of the time range from which you want <code>GetSampledRequests</code> to return a sample of the requests that your Amazon Web Services resource received. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, <code>Z</code>. For example, <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>", |
1795 | 1915 | "TimeWindow$EndTime": "<p>The end of the time range from which you want <code>GetSampledRequests</code> to return a sample of the requests that your Amazon Web Services resource received. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, <code>Z</code>. For example, <code>\"2016-09-27T14:50Z\"</code>. You can specify any time range in the previous three hours.</p>", |
1869 | 1989 | "FieldToMatch$UriPath": "<p>Inspect the request URI path. This is the part of a web request that identifies a resource, for example, <code>/images/daily-ad.jpg</code>.</p>" |
1870 | 1990 | } |
1871 | 1991 | }, |
1992 | "UsernameField": { | |
1993 | "base": "<p>Details about your login page username field, used in a <code>ManagedRuleGroupConfig</code>. </p>", | |
1994 | "refs": { | |
1995 | "ManagedRuleGroupConfig$UsernameField": "<p>Details about your login page username field. </p>" | |
1996 | } | |
1997 | }, | |
1872 | 1998 | "VendorName": { |
1873 | 1999 | "base": null, |
1874 | 2000 | "refs": { |
1883 | 2009 | "refs": { |
1884 | 2010 | "DescribeManagedRuleGroupRequest$VersionName": "<p>The version of the rule group. You can only use a version that is not scheduled for expiration. If you don't provide this, WAF uses the vendor's default version. </p>", |
1885 | 2011 | "DescribeManagedRuleGroupResponse$VersionName": "<p>The managed rule group's version. </p>", |
2012 | "GenerateMobileSdkReleaseUrlRequest$ReleaseVersion": "<p>The release version. For the latest available version, specify <code>LATEST</code>.</p>", | |
2013 | "GetMobileSdkReleaseRequest$ReleaseVersion": "<p>The release version. For the latest available version, specify <code>LATEST</code>.</p>", | |
1886 | 2014 | "ManagedRuleGroupStatement$Version": "<p>The version of the managed rule group to use. If you specify this, the version setting is fixed until you change it. If you don't specify this, WAF uses the vendor's default version, and then keeps the version at the vendor's default when the vendor updates the managed rule group settings. </p>", |
1887 | 2015 | "ManagedRuleGroupVersion$Name": "<p>The version name. </p>", |
1888 | 2016 | "ManagedRuleSet$RecommendedVersion": "<p>The version that you would like your customers to use.</p>", |
2017 | "MobileSdkRelease$ReleaseVersion": "<p>The release version. </p>", | |
1889 | 2018 | "PublishedVersions$key": null, |
1890 | 2019 | "PutManagedRuleSetVersionsRequest$RecommendedVersion": "<p>The version of the named managed rule group that you'd like your customers to choose, from among your version offerings. </p>", |
2020 | "ReleaseSummary$ReleaseVersion": "<p>The release version. </p>", | |
1891 | 2021 | "UpdateManagedRuleSetVersionExpiryDateRequest$VersionToExpire": "<p>The version that you want to remove from your list of offerings for the named managed rule group. </p>", |
1892 | 2022 | "UpdateManagedRuleSetVersionExpiryDateResponse$ExpiringVersion": "<p>The version that is set to expire. </p>", |
1893 | 2023 | "VersionsToPublish$key": null |
12045 | 12045 | "ap-east-1" : { }, |
12046 | 12046 | "ap-northeast-1" : { }, |
12047 | 12047 | "ap-northeast-2" : { }, |
12048 | "ap-northeast-3" : { }, | |
12048 | 12049 | "ap-south-1" : { }, |
12049 | 12050 | "ap-southeast-1" : { }, |
12050 | 12051 | "ap-southeast-2" : { }, |
23040 | 23040 | |
23041 | 23041 | // HandlerErrorCodeInvalidTypeConfiguration is a HandlerErrorCode enum value |
23042 | 23042 | HandlerErrorCodeInvalidTypeConfiguration = "InvalidTypeConfiguration" |
23043 | ||
23044 | // HandlerErrorCodeHandlerInternalFailure is a HandlerErrorCode enum value | |
23045 | HandlerErrorCodeHandlerInternalFailure = "HandlerInternalFailure" | |
23046 | ||
23047 | // HandlerErrorCodeNonCompliant is a HandlerErrorCode enum value | |
23048 | HandlerErrorCodeNonCompliant = "NonCompliant" | |
23049 | ||
23050 | // HandlerErrorCodeUnknown is a HandlerErrorCode enum value | |
23051 | HandlerErrorCodeUnknown = "Unknown" | |
23043 | 23052 | ) |
23044 | 23053 | |
23045 | 23054 | // HandlerErrorCode_Values returns all elements of the HandlerErrorCode enum |
23060 | 23069 | HandlerErrorCodeNetworkFailure, |
23061 | 23070 | HandlerErrorCodeInternalFailure, |
23062 | 23071 | HandlerErrorCodeInvalidTypeConfiguration, |
23072 | HandlerErrorCodeHandlerInternalFailure, | |
23073 | HandlerErrorCodeNonCompliant, | |
23074 | HandlerErrorCodeUnknown, | |
23063 | 23075 | } |
23064 | 23076 | } |
23065 | 23077 |
2081 | 2081 | // |
2082 | 2082 | // This operation requires the following permissions: |
2083 | 2083 | // |
2084 | // * lookoutvision:StartModelPackagingJobs | |
2084 | // * lookoutvision:StartModelPackagingJob | |
2085 | 2085 | // |
2086 | 2086 | // * s3:PutObject |
2087 | 2087 | // |
4344 | 4344 | _ struct{} `type:"structure"` |
4345 | 4345 | |
4346 | 4346 | // Additional compiler options for the Greengrass component. Currently, only |
4347 | // NVIDIA Graphics Processing Units (GPU) are supported. | |
4347 | // NVIDIA Graphics Processing Units (GPU) are supported. If you specify TargetPlatform, | |
4348 | // you must specify CompilerOptions. If you specify TargetDevice, don't specify | |
4349 | // CompilerOptions. | |
4348 | 4350 | // |
4349 | 4351 | // For more information, see Compiler options in the Amazon Lookout for Vision |
4350 | 4352 | // Developer Guide. |
4351 | // | |
4352 | // CompilerOptions is a required field | |
4353 | CompilerOptions *string `min:"3" type:"string" required:"true"` | |
4353 | CompilerOptions *string `min:"3" type:"string"` | |
4354 | 4354 | |
4355 | 4355 | // A description for the AWS IoT Greengrass component. |
4356 | 4356 | ComponentDescription *string `min:"1" type:"string"` |
4403 | 4403 | // Validate inspects the fields of the type to determine if they are valid. |
4404 | 4404 | func (s *GreengrassConfiguration) Validate() error { |
4405 | 4405 | invalidParams := request.ErrInvalidParams{Context: "GreengrassConfiguration"} |
4406 | if s.CompilerOptions == nil { | |
4407 | invalidParams.Add(request.NewErrParamRequired("CompilerOptions")) | |
4408 | } | |
4409 | 4406 | if s.CompilerOptions != nil && len(*s.CompilerOptions) < 3 { |
4410 | 4407 | invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 3)) |
4411 | 4408 | } |
13985 | 13985 | // Arn is a required field |
13986 | 13986 | Arn *string `type:"string" required:"true"` |
13987 | 13987 | |
13988 | // The date and time when the Application was created. | |
13989 | CreationDate *string `type:"string"` | |
13990 | ||
13988 | 13991 | // The unique identifier for the application. This identifier is displayed as |
13989 | 13992 | // the Project ID on the Amazon Pinpoint console. |
13990 | 13993 | // |
14024 | 14027 | // SetArn sets the Arn field's value. |
14025 | 14028 | func (s *ApplicationResponse) SetArn(v string) *ApplicationResponse { |
14026 | 14029 | s.Arn = &v |
14030 | return s | |
14031 | } | |
14032 | ||
14033 | // SetCreationDate sets the CreationDate field's value. | |
14034 | func (s *ApplicationResponse) SetCreationDate(v string) *ApplicationResponse { | |
14035 | s.CreationDate = &v | |
14027 | 14036 | return s |
14028 | 14037 | } |
14029 | 14038 |
3139 | 3139 | // on the notification protocol for each subscribed endpoint. |
3140 | 3140 | // |
3141 | 3141 | // When a messageId is returned, the message is saved and Amazon SNS immediately |
3142 | // deliverers it to subscribers. | |
3142 | // delivers it to subscribers. | |
3143 | 3143 | // |
3144 | 3144 | // To use the Publish action for publishing a message to a mobile endpoint, |
3145 | 3145 | // such as an app on a Kindle device or mobile phone, you must specify the EndpointArn |
1791 | 1791 | return out, req.Send() |
1792 | 1792 | } |
1793 | 1793 | |
1794 | const opGenerateMobileSdkReleaseUrl = "GenerateMobileSdkReleaseUrl" | |
1795 | ||
1796 | // GenerateMobileSdkReleaseUrlRequest generates a "aws/request.Request" representing the | |
1797 | // client's request for the GenerateMobileSdkReleaseUrl operation. The "output" return | |
1798 | // value will be populated with the request's response once the request completes | |
1799 | // successfully. | |
1800 | // | |
1801 | // Use "Send" method on the returned Request to send the API call to the service. | |
1802 | // the "output" return value is not valid until after Send returns without error. | |
1803 | // | |
1804 | // See GenerateMobileSdkReleaseUrl for more information on using the GenerateMobileSdkReleaseUrl | |
1805 | // API call, and error handling. | |
1806 | // | |
1807 | // This method is useful when you want to inject custom logic or configuration | |
1808 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. | |
1809 | // | |
1810 | // | |
1811 | // // Example sending a request using the GenerateMobileSdkReleaseUrlRequest method. | |
1812 | // req, resp := client.GenerateMobileSdkReleaseUrlRequest(params) | |
1813 | // | |
1814 | // err := req.Send() | |
1815 | // if err == nil { // resp is now filled | |
1816 | // fmt.Println(resp) | |
1817 | // } | |
1818 | // | |
1819 | // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GenerateMobileSdkReleaseUrl | |
1820 | func (c *WAFV2) GenerateMobileSdkReleaseUrlRequest(input *GenerateMobileSdkReleaseUrlInput) (req *request.Request, output *GenerateMobileSdkReleaseUrlOutput) { | |
1821 | op := &request.Operation{ | |
1822 | Name: opGenerateMobileSdkReleaseUrl, | |
1823 | HTTPMethod: "POST", | |
1824 | HTTPPath: "/", | |
1825 | } | |
1826 | ||
1827 | if input == nil { | |
1828 | input = &GenerateMobileSdkReleaseUrlInput{} | |
1829 | } | |
1830 | ||
1831 | output = &GenerateMobileSdkReleaseUrlOutput{} | |
1832 | req = c.newRequest(op, input, output) | |
1833 | return | |
1834 | } | |
1835 | ||
1836 | // GenerateMobileSdkReleaseUrl API operation for AWS WAFV2. | |
1837 | // | |
1838 | // Generates a presigned download URL for the specified release of the mobile | |
1839 | // SDK. | |
1840 | // | |
1841 | // The mobile SDK is not generally available. Customers who have access to the | |
1842 | // mobile SDK can use it to establish and manage Security Token Service (STS) | |
1843 | // security tokens for use in HTTP(S) requests from a mobile device to WAF. | |
1844 | // | |
1845 | // Returns awserr.Error for service API and SDK errors. Use runtime type assertions | |
1846 | // with awserr.Error's Code and Message methods to get detailed information about | |
1847 | // the error. | |
1848 | // | |
1849 | // See the AWS API reference guide for AWS WAFV2's | |
1850 | // API operation GenerateMobileSdkReleaseUrl for usage and error information. | |
1851 | // | |
1852 | // Returned Error Types: | |
1853 | // * WAFInternalErrorException | |
1854 | // Your request is valid, but WAF couldn’t perform the operation because of | |
1855 | // a system problem. Retry your request. | |
1856 | // | |
1857 | // * WAFNonexistentItemException | |
1858 | // WAF couldn’t perform the operation because your resource doesn’t exist. | |
1859 | // | |
1860 | // * WAFInvalidParameterException | |
1861 | // The operation failed because WAF didn't recognize a parameter in the request. | |
1862 | // For example: | |
1863 | // | |
1864 | // * You specified a parameter name or value that isn't valid. | |
1865 | // | |
1866 | // * Your nested statement isn't valid. You might have tried to nest a statement | |
1867 | // that can’t be nested. | |
1868 | // | |
1869 | // * You tried to update a WebACL with a DefaultAction that isn't among the | |
1870 | // types available at DefaultAction. | |
1871 | // | |
1872 | // * Your request references an ARN that is malformed, or corresponds to | |
1873 | // a resource with which a web ACL can't be associated. | |
1874 | // | |
1875 | // * WAFInvalidOperationException | |
1876 | // The operation isn't valid. | |
1877 | // | |
1878 | // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GenerateMobileSdkReleaseUrl | |
1879 | func (c *WAFV2) GenerateMobileSdkReleaseUrl(input *GenerateMobileSdkReleaseUrlInput) (*GenerateMobileSdkReleaseUrlOutput, error) { | |
1880 | req, out := c.GenerateMobileSdkReleaseUrlRequest(input) | |
1881 | return out, req.Send() | |
1882 | } | |
1883 | ||
1884 | // GenerateMobileSdkReleaseUrlWithContext is the same as GenerateMobileSdkReleaseUrl with the addition of | |
1885 | // the ability to pass a context and additional request options. | |
1886 | // | |
1887 | // See GenerateMobileSdkReleaseUrl for details on how to use this API operation. | |
1888 | // | |
1889 | // The context must be non-nil and will be used for request cancellation. If | |
1890 | // the context is nil a panic will occur. In the future the SDK may create | |
1891 | // sub-contexts for http.Requests. See https://golang.org/pkg/context/ | |
1892 | // for more information on using Contexts. | |
1893 | func (c *WAFV2) GenerateMobileSdkReleaseUrlWithContext(ctx aws.Context, input *GenerateMobileSdkReleaseUrlInput, opts ...request.Option) (*GenerateMobileSdkReleaseUrlOutput, error) { | |
1894 | req, out := c.GenerateMobileSdkReleaseUrlRequest(input) | |
1895 | req.SetContext(ctx) | |
1896 | req.ApplyOptions(opts...) | |
1897 | return out, req.Send() | |
1898 | } | |
1899 | ||
1794 | 1900 | const opGetIPSet = "GetIPSet" |
1795 | 1901 | |
1796 | 1902 | // GetIPSetRequest generates a "aws/request.Request" representing the |
2102 | 2208 | return out, req.Send() |
2103 | 2209 | } |
2104 | 2210 | |
2211 | const opGetMobileSdkRelease = "GetMobileSdkRelease" | |
2212 | ||
2213 | // GetMobileSdkReleaseRequest generates a "aws/request.Request" representing the | |
2214 | // client's request for the GetMobileSdkRelease operation. The "output" return | |
2215 | // value will be populated with the request's response once the request completes | |
2216 | // successfully. | |
2217 | // | |
2218 | // Use "Send" method on the returned Request to send the API call to the service. | |
2219 | // the "output" return value is not valid until after Send returns without error. | |
2220 | // | |
2221 | // See GetMobileSdkRelease for more information on using the GetMobileSdkRelease | |
2222 | // API call, and error handling. | |
2223 | // | |
2224 | // This method is useful when you want to inject custom logic or configuration | |
2225 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. | |
2226 | // | |
2227 | // | |
2228 | // // Example sending a request using the GetMobileSdkReleaseRequest method. | |
2229 | // req, resp := client.GetMobileSdkReleaseRequest(params) | |
2230 | // | |
2231 | // err := req.Send() | |
2232 | // if err == nil { // resp is now filled | |
2233 | // fmt.Println(resp) | |
2234 | // } | |
2235 | // | |
2236 | // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetMobileSdkRelease | |
2237 | func (c *WAFV2) GetMobileSdkReleaseRequest(input *GetMobileSdkReleaseInput) (req *request.Request, output *GetMobileSdkReleaseOutput) { | |
2238 | op := &request.Operation{ | |
2239 | Name: opGetMobileSdkRelease, | |
2240 | HTTPMethod: "POST", | |
2241 | HTTPPath: "/", | |
2242 | } | |
2243 | ||
2244 | if input == nil { | |
2245 | input = &GetMobileSdkReleaseInput{} | |
2246 | } | |
2247 | ||
2248 | output = &GetMobileSdkReleaseOutput{} | |
2249 | req = c.newRequest(op, input, output) | |
2250 | return | |
2251 | } | |
2252 | ||
2253 | // GetMobileSdkRelease API operation for AWS WAFV2. | |
2254 | // | |
2255 | // Retrieves information for the specified mobile SDK release, including release | |
2256 | // notes and tags. | |
2257 | // | |
2258 | // The mobile SDK is not generally available. Customers who have access to the | |
2259 | // mobile SDK can use it to establish and manage Security Token Service (STS) | |
2260 | // security tokens for use in HTTP(S) requests from a mobile device to WAF. | |
2261 | // | |
2262 | // Returns awserr.Error for service API and SDK errors. Use runtime type assertions | |
2263 | // with awserr.Error's Code and Message methods to get detailed information about | |
2264 | // the error. | |
2265 | // | |
2266 | // See the AWS API reference guide for AWS WAFV2's | |
2267 | // API operation GetMobileSdkRelease for usage and error information. | |
2268 | // | |
2269 | // Returned Error Types: | |
2270 | // * WAFInternalErrorException | |
2271 | // Your request is valid, but WAF couldn’t perform the operation because of | |
2272 | // a system problem. Retry your request. | |
2273 | // | |
2274 | // * WAFNonexistentItemException | |
2275 | // WAF couldn’t perform the operation because your resource doesn’t exist. | |
2276 | // | |
2277 | // * WAFInvalidParameterException | |
2278 | // The operation failed because WAF didn't recognize a parameter in the request. | |
2279 | // For example: | |
2280 | // | |
2281 | // * You specified a parameter name or value that isn't valid. | |
2282 | // | |
2283 | // * Your nested statement isn't valid. You might have tried to nest a statement | |
2284 | // that can’t be nested. | |
2285 | // | |
2286 | // * You tried to update a WebACL with a DefaultAction that isn't among the | |
2287 | // types available at DefaultAction. | |
2288 | // | |
2289 | // * Your request references an ARN that is malformed, or corresponds to | |
2290 | // a resource with which a web ACL can't be associated. | |
2291 | // | |
2292 | // * WAFInvalidOperationException | |
2293 | // The operation isn't valid. | |
2294 | // | |
2295 | // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetMobileSdkRelease | |
2296 | func (c *WAFV2) GetMobileSdkRelease(input *GetMobileSdkReleaseInput) (*GetMobileSdkReleaseOutput, error) { | |
2297 | req, out := c.GetMobileSdkReleaseRequest(input) | |
2298 | return out, req.Send() | |
2299 | } | |
2300 | ||
2301 | // GetMobileSdkReleaseWithContext is the same as GetMobileSdkRelease with the addition of | |
2302 | // the ability to pass a context and additional request options. | |
2303 | // | |
2304 | // See GetMobileSdkRelease for details on how to use this API operation. | |
2305 | // | |
2306 | // The context must be non-nil and will be used for request cancellation. If | |
2307 | // the context is nil a panic will occur. In the future the SDK may create | |
2308 | // sub-contexts for http.Requests. See https://golang.org/pkg/context/ | |
2309 | // for more information on using Contexts. | |
2310 | func (c *WAFV2) GetMobileSdkReleaseWithContext(ctx aws.Context, input *GetMobileSdkReleaseInput, opts ...request.Option) (*GetMobileSdkReleaseOutput, error) { | |
2311 | req, out := c.GetMobileSdkReleaseRequest(input) | |
2312 | req.SetContext(ctx) | |
2313 | req.ApplyOptions(opts...) | |
2314 | return out, req.Send() | |
2315 | } | |
2316 | ||
2105 | 2317 | const opGetPermissionPolicy = "GetPermissionPolicy" |
2106 | 2318 | |
2107 | 2319 | // GetPermissionPolicyRequest generates a "aws/request.Request" representing the |
3334 | 3546 | return out, req.Send() |
3335 | 3547 | } |
3336 | 3548 | |
3549 | const opListMobileSdkReleases = "ListMobileSdkReleases" | |
3550 | ||
3551 | // ListMobileSdkReleasesRequest generates a "aws/request.Request" representing the | |
3552 | // client's request for the ListMobileSdkReleases operation. The "output" return | |
3553 | // value will be populated with the request's response once the request completes | |
3554 | // successfully. | |
3555 | // | |
3556 | // Use "Send" method on the returned Request to send the API call to the service. | |
3557 | // the "output" return value is not valid until after Send returns without error. | |
3558 | // | |
3559 | // See ListMobileSdkReleases for more information on using the ListMobileSdkReleases | |
3560 | // API call, and error handling. | |
3561 | // | |
3562 | // This method is useful when you want to inject custom logic or configuration | |
3563 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. | |
3564 | // | |
3565 | // | |
3566 | // // Example sending a request using the ListMobileSdkReleasesRequest method. | |
3567 | // req, resp := client.ListMobileSdkReleasesRequest(params) | |
3568 | // | |
3569 | // err := req.Send() | |
3570 | // if err == nil { // resp is now filled | |
3571 | // fmt.Println(resp) | |
3572 | // } | |
3573 | // | |
3574 | // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListMobileSdkReleases | |
3575 | func (c *WAFV2) ListMobileSdkReleasesRequest(input *ListMobileSdkReleasesInput) (req *request.Request, output *ListMobileSdkReleasesOutput) { | |
3576 | op := &request.Operation{ | |
3577 | Name: opListMobileSdkReleases, | |
3578 | HTTPMethod: "POST", | |
3579 | HTTPPath: "/", | |
3580 | } | |
3581 | ||
3582 | if input == nil { | |
3583 | input = &ListMobileSdkReleasesInput{} | |
3584 | } | |
3585 | ||
3586 | output = &ListMobileSdkReleasesOutput{} | |
3587 | req = c.newRequest(op, input, output) | |
3588 | return | |
3589 | } | |
3590 | ||
3591 | // ListMobileSdkReleases API operation for AWS WAFV2. | |
3592 | // | |
3593 | // Retrieves a list of the available releases for the mobile SDK and the specified | |
3594 | // device platform. | |
3595 | // | |
3596 | // The mobile SDK is not generally available. Customers who have access to the | |
3597 | // mobile SDK can use it to establish and manage Security Token Service (STS) | |
3598 | // security tokens for use in HTTP(S) requests from a mobile device to WAF. | |
3599 | // | |
3600 | // Returns awserr.Error for service API and SDK errors. Use runtime type assertions | |
3601 | // with awserr.Error's Code and Message methods to get detailed information about | |
3602 | // the error. | |
3603 | // | |
3604 | // See the AWS API reference guide for AWS WAFV2's | |
3605 | // API operation ListMobileSdkReleases for usage and error information. | |
3606 | // | |
3607 | // Returned Error Types: | |
3608 | // * WAFInternalErrorException | |
3609 | // Your request is valid, but WAF couldn’t perform the operation because of | |
3610 | // a system problem. Retry your request. | |
3611 | // | |
3612 | // * WAFInvalidParameterException | |
3613 | // The operation failed because WAF didn't recognize a parameter in the request. | |
3614 | // For example: | |
3615 | // | |
3616 | // * You specified a parameter name or value that isn't valid. | |
3617 | // | |
3618 | // * Your nested statement isn't valid. You might have tried to nest a statement | |
3619 | // that can’t be nested. | |
3620 | // | |
3621 | // * You tried to update a WebACL with a DefaultAction that isn't among the | |
3622 | // types available at DefaultAction. | |
3623 | // | |
3624 | // * Your request references an ARN that is malformed, or corresponds to | |
3625 | // a resource with which a web ACL can't be associated. | |
3626 | // | |
3627 | // * WAFInvalidOperationException | |
3628 | // The operation isn't valid. | |
3629 | // | |
3630 | // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListMobileSdkReleases | |
3631 | func (c *WAFV2) ListMobileSdkReleases(input *ListMobileSdkReleasesInput) (*ListMobileSdkReleasesOutput, error) { | |
3632 | req, out := c.ListMobileSdkReleasesRequest(input) | |
3633 | return out, req.Send() | |
3634 | } | |
3635 | ||
3636 | // ListMobileSdkReleasesWithContext is the same as ListMobileSdkReleases with the addition of | |
3637 | // the ability to pass a context and additional request options. | |
3638 | // | |
3639 | // See ListMobileSdkReleases for details on how to use this API operation. | |
3640 | // | |
3641 | // The context must be non-nil and will be used for request cancellation. If | |
3642 | // the context is nil a panic will occur. In the future the SDK may create | |
3643 | // sub-contexts for http.Requests. See https://golang.org/pkg/context/ | |
3644 | // for more information on using Contexts. | |
3645 | func (c *WAFV2) ListMobileSdkReleasesWithContext(ctx aws.Context, input *ListMobileSdkReleasesInput, opts ...request.Option) (*ListMobileSdkReleasesOutput, error) { | |
3646 | req, out := c.ListMobileSdkReleasesRequest(input) | |
3647 | req.SetContext(ctx) | |
3648 | req.ApplyOptions(opts...) | |
3649 | return out, req.Send() | |
3650 | } | |
3651 | ||
3337 | 3652 | const opListRegexPatternSets = "ListRegexPatternSets" |
3338 | 3653 | |
3339 | 3654 | // ListRegexPatternSetsRequest generates a "aws/request.Request" representing the |
8992 | 9307 | return s |
8993 | 9308 | } |
8994 | 9309 | |
9310 | type GenerateMobileSdkReleaseUrlInput struct { | |
9311 | _ struct{} `type:"structure"` | |
9312 | ||
9313 | // The device platform. | |
9314 | // | |
9315 | // Platform is a required field | |
9316 | Platform *string `type:"string" required:"true" enum:"Platform"` | |
9317 | ||
9318 | // The release version. For the latest available version, specify LATEST. | |
9319 | // | |
9320 | // ReleaseVersion is a required field | |
9321 | ReleaseVersion *string `min:"1" type:"string" required:"true"` | |
9322 | } | |
9323 | ||
9324 | // String returns the string representation. | |
9325 | // | |
9326 | // API parameter values that are decorated as "sensitive" in the API will not | |
9327 | // be included in the string output. The member name will be present, but the | |
9328 | // value will be replaced with "sensitive". | |
9329 | func (s GenerateMobileSdkReleaseUrlInput) String() string { | |
9330 | return awsutil.Prettify(s) | |
9331 | } | |
9332 | ||
9333 | // GoString returns the string representation. | |
9334 | // | |
9335 | // API parameter values that are decorated as "sensitive" in the API will not | |
9336 | // be included in the string output. The member name will be present, but the | |
9337 | // value will be replaced with "sensitive". | |
9338 | func (s GenerateMobileSdkReleaseUrlInput) GoString() string { | |
9339 | return s.String() | |
9340 | } | |
9341 | ||
9342 | // Validate inspects the fields of the type to determine if they are valid. | |
9343 | func (s *GenerateMobileSdkReleaseUrlInput) Validate() error { | |
9344 | invalidParams := request.ErrInvalidParams{Context: "GenerateMobileSdkReleaseUrlInput"} | |
9345 | if s.Platform == nil { | |
9346 | invalidParams.Add(request.NewErrParamRequired("Platform")) | |
9347 | } | |
9348 | if s.ReleaseVersion == nil { | |
9349 | invalidParams.Add(request.NewErrParamRequired("ReleaseVersion")) | |
9350 | } | |
9351 | if s.ReleaseVersion != nil && len(*s.ReleaseVersion) < 1 { | |
9352 | invalidParams.Add(request.NewErrParamMinLen("ReleaseVersion", 1)) | |
9353 | } | |
9354 | ||
9355 | if invalidParams.Len() > 0 { | |
9356 | return invalidParams | |
9357 | } | |
9358 | return nil | |
9359 | } | |
9360 | ||
9361 | // SetPlatform sets the Platform field's value. | |
9362 | func (s *GenerateMobileSdkReleaseUrlInput) SetPlatform(v string) *GenerateMobileSdkReleaseUrlInput { | |
9363 | s.Platform = &v | |
9364 | return s | |
9365 | } | |
9366 | ||
9367 | // SetReleaseVersion sets the ReleaseVersion field's value. | |
9368 | func (s *GenerateMobileSdkReleaseUrlInput) SetReleaseVersion(v string) *GenerateMobileSdkReleaseUrlInput { | |
9369 | s.ReleaseVersion = &v | |
9370 | return s | |
9371 | } | |
9372 | ||
9373 | type GenerateMobileSdkReleaseUrlOutput struct { | |
9374 | _ struct{} `type:"structure"` | |
9375 | ||
9376 | // The presigned download URL for the specified SDK release. | |
9377 | Url *string `type:"string"` | |
9378 | } | |
9379 | ||
9380 | // String returns the string representation. | |
9381 | // | |
9382 | // API parameter values that are decorated as "sensitive" in the API will not | |
9383 | // be included in the string output. The member name will be present, but the | |
9384 | // value will be replaced with "sensitive". | |
9385 | func (s GenerateMobileSdkReleaseUrlOutput) String() string { | |
9386 | return awsutil.Prettify(s) | |
9387 | } | |
9388 | ||
9389 | // GoString returns the string representation. | |
9390 | // | |
9391 | // API parameter values that are decorated as "sensitive" in the API will not | |
9392 | // be included in the string output. The member name will be present, but the | |
9393 | // value will be replaced with "sensitive". | |
9394 | func (s GenerateMobileSdkReleaseUrlOutput) GoString() string { | |
9395 | return s.String() | |
9396 | } | |
9397 | ||
9398 | // SetUrl sets the Url field's value. | |
9399 | func (s *GenerateMobileSdkReleaseUrlOutput) SetUrl(v string) *GenerateMobileSdkReleaseUrlOutput { | |
9400 | s.Url = &v | |
9401 | return s | |
9402 | } | |
9403 | ||
8995 | 9404 | // A rule statement used to identify web requests based on country of origin. |
8996 | 9405 | type GeoMatchStatement struct { |
8997 | 9406 | _ struct{} `type:"structure"` |
9426 | 9835 | return s |
9427 | 9836 | } |
9428 | 9837 | |
9838 | type GetMobileSdkReleaseInput struct { | |
9839 | _ struct{} `type:"structure"` | |
9840 | ||
9841 | // The device platform. | |
9842 | // | |
9843 | // Platform is a required field | |
9844 | Platform *string `type:"string" required:"true" enum:"Platform"` | |
9845 | ||
9846 | // The release version. For the latest available version, specify LATEST. | |
9847 | // | |
9848 | // ReleaseVersion is a required field | |
9849 | ReleaseVersion *string `min:"1" type:"string" required:"true"` | |
9850 | } | |
9851 | ||
9852 | // String returns the string representation. | |
9853 | // | |
9854 | // API parameter values that are decorated as "sensitive" in the API will not | |
9855 | // be included in the string output. The member name will be present, but the | |
9856 | // value will be replaced with "sensitive". | |
9857 | func (s GetMobileSdkReleaseInput) String() string { | |
9858 | return awsutil.Prettify(s) | |
9859 | } | |
9860 | ||
9861 | // GoString returns the string representation. | |
9862 | // | |
9863 | // API parameter values that are decorated as "sensitive" in the API will not | |
9864 | // be included in the string output. The member name will be present, but the | |
9865 | // value will be replaced with "sensitive". | |
9866 | func (s GetMobileSdkReleaseInput) GoString() string { | |
9867 | return s.String() | |
9868 | } | |
9869 | ||
9870 | // Validate inspects the fields of the type to determine if they are valid. | |
9871 | func (s *GetMobileSdkReleaseInput) Validate() error { | |
9872 | invalidParams := request.ErrInvalidParams{Context: "GetMobileSdkReleaseInput"} | |
9873 | if s.Platform == nil { | |
9874 | invalidParams.Add(request.NewErrParamRequired("Platform")) | |
9875 | } | |
9876 | if s.ReleaseVersion == nil { | |
9877 | invalidParams.Add(request.NewErrParamRequired("ReleaseVersion")) | |
9878 | } | |
9879 | if s.ReleaseVersion != nil && len(*s.ReleaseVersion) < 1 { | |
9880 | invalidParams.Add(request.NewErrParamMinLen("ReleaseVersion", 1)) | |
9881 | } | |
9882 | ||
9883 | if invalidParams.Len() > 0 { | |
9884 | return invalidParams | |
9885 | } | |
9886 | return nil | |
9887 | } | |
9888 | ||
9889 | // SetPlatform sets the Platform field's value. | |
9890 | func (s *GetMobileSdkReleaseInput) SetPlatform(v string) *GetMobileSdkReleaseInput { | |
9891 | s.Platform = &v | |
9892 | return s | |
9893 | } | |
9894 | ||
9895 | // SetReleaseVersion sets the ReleaseVersion field's value. | |
9896 | func (s *GetMobileSdkReleaseInput) SetReleaseVersion(v string) *GetMobileSdkReleaseInput { | |
9897 | s.ReleaseVersion = &v | |
9898 | return s | |
9899 | } | |
9900 | ||
9901 | type GetMobileSdkReleaseOutput struct { | |
9902 | _ struct{} `type:"structure"` | |
9903 | ||
9904 | // Information for a specified SDK release, including release notes and tags. | |
9905 | MobileSdkRelease *MobileSdkRelease `type:"structure"` | |
9906 | } | |
9907 | ||
9908 | // String returns the string representation. | |
9909 | // | |
9910 | // API parameter values that are decorated as "sensitive" in the API will not | |
9911 | // be included in the string output. The member name will be present, but the | |
9912 | // value will be replaced with "sensitive". | |
9913 | func (s GetMobileSdkReleaseOutput) String() string { | |
9914 | return awsutil.Prettify(s) | |
9915 | } | |
9916 | ||
9917 | // GoString returns the string representation. | |
9918 | // | |
9919 | // API parameter values that are decorated as "sensitive" in the API will not | |
9920 | // be included in the string output. The member name will be present, but the | |
9921 | // value will be replaced with "sensitive". | |
9922 | func (s GetMobileSdkReleaseOutput) GoString() string { | |
9923 | return s.String() | |
9924 | } | |
9925 | ||
9926 | // SetMobileSdkRelease sets the MobileSdkRelease field's value. | |
9927 | func (s *GetMobileSdkReleaseOutput) SetMobileSdkRelease(v *MobileSdkRelease) *GetMobileSdkReleaseOutput { | |
9928 | s.MobileSdkRelease = v | |
9929 | return s | |
9930 | } | |
9931 | ||
9429 | 9932 | type GetPermissionPolicyInput struct { |
9430 | 9933 | _ struct{} `type:"structure"` |
9431 | 9934 | |
10324 | 10827 | type GetWebACLOutput struct { |
10325 | 10828 | _ struct{} `type:"structure"` |
10326 | 10829 | |
10830 | // The URL to use in SDK integrations with Amazon Web Services managed rule | |
10831 | // groups. For example, you can use the integration SDKs with the account takeover | |
10832 | // prevention managed rule group AWSManagedRulesATPRuleSet. This is only populated | |
10833 | // if you are using a rule group in your web ACL that integrates with your applications | |
10834 | // in this way. For more information, see WAF application integration (https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html) | |
10835 | // in the WAF Developer Guide. | |
10836 | ApplicationIntegrationURL *string `type:"string"` | |
10837 | ||
10327 | 10838 | // A token used for optimistic locking. WAF returns a token to your get and |
10328 | 10839 | // list requests, to mark the state of the entity at the time of the request. |
10329 | 10840 | // To make changes to the entity associated with the token, you provide the |
10355 | 10866 | // value will be replaced with "sensitive". |
10356 | 10867 | func (s GetWebACLOutput) GoString() string { |
10357 | 10868 | return s.String() |
10869 | } | |
10870 | ||
10871 | // SetApplicationIntegrationURL sets the ApplicationIntegrationURL field's value. | |
10872 | func (s *GetWebACLOutput) SetApplicationIntegrationURL(v string) *GetWebACLOutput { | |
10873 | s.ApplicationIntegrationURL = &v | |
10874 | return s | |
10358 | 10875 | } |
10359 | 10876 | |
10360 | 10877 | // SetLockToken sets the LockToken field's value. |
12031 | 12548 | return s |
12032 | 12549 | } |
12033 | 12550 | |
12551 | type ListMobileSdkReleasesInput struct { | |
12552 | _ struct{} `type:"structure"` | |
12553 | ||
12554 | // The maximum number of objects that you want WAF to return for this request. | |
12555 | // If more objects are available, in the response, WAF provides a NextMarker | |
12556 | // value that you can use in a subsequent call to get the next batch of objects. | |
12557 | Limit *int64 `min:"1" type:"integer"` | |
12558 | ||
12559 | // When you request a list of objects with a Limit setting, if the number of | |
12560 | // objects that are still available for retrieval exceeds the limit, WAF returns | |
12561 | // a NextMarker value in the response. To retrieve the next batch of objects, | |
12562 | // provide the marker from the prior call in your next request. | |
12563 | NextMarker *string `min:"1" type:"string"` | |
12564 | ||
12565 | // The device platform to retrieve the list for. | |
12566 | // | |
12567 | // Platform is a required field | |
12568 | Platform *string `type:"string" required:"true" enum:"Platform"` | |
12569 | } | |
12570 | ||
12571 | // String returns the string representation. | |
12572 | // | |
12573 | // API parameter values that are decorated as "sensitive" in the API will not | |
12574 | // be included in the string output. The member name will be present, but the | |
12575 | // value will be replaced with "sensitive". | |
12576 | func (s ListMobileSdkReleasesInput) String() string { | |
12577 | return awsutil.Prettify(s) | |
12578 | } | |
12579 | ||
12580 | // GoString returns the string representation. | |
12581 | // | |
12582 | // API parameter values that are decorated as "sensitive" in the API will not | |
12583 | // be included in the string output. The member name will be present, but the | |
12584 | // value will be replaced with "sensitive". | |
12585 | func (s ListMobileSdkReleasesInput) GoString() string { | |
12586 | return s.String() | |
12587 | } | |
12588 | ||
12589 | // Validate inspects the fields of the type to determine if they are valid. | |
12590 | func (s *ListMobileSdkReleasesInput) Validate() error { | |
12591 | invalidParams := request.ErrInvalidParams{Context: "ListMobileSdkReleasesInput"} | |
12592 | if s.Limit != nil && *s.Limit < 1 { | |
12593 | invalidParams.Add(request.NewErrParamMinValue("Limit", 1)) | |
12594 | } | |
12595 | if s.NextMarker != nil && len(*s.NextMarker) < 1 { | |
12596 | invalidParams.Add(request.NewErrParamMinLen("NextMarker", 1)) | |
12597 | } | |
12598 | if s.Platform == nil { | |
12599 | invalidParams.Add(request.NewErrParamRequired("Platform")) | |
12600 | } | |
12601 | ||
12602 | if invalidParams.Len() > 0 { | |
12603 | return invalidParams | |
12604 | } | |
12605 | return nil | |
12606 | } | |
12607 | ||
12608 | // SetLimit sets the Limit field's value. | |
12609 | func (s *ListMobileSdkReleasesInput) SetLimit(v int64) *ListMobileSdkReleasesInput { | |
12610 | s.Limit = &v | |
12611 | return s | |
12612 | } | |
12613 | ||
12614 | // SetNextMarker sets the NextMarker field's value. | |
12615 | func (s *ListMobileSdkReleasesInput) SetNextMarker(v string) *ListMobileSdkReleasesInput { | |
12616 | s.NextMarker = &v | |
12617 | return s | |
12618 | } | |
12619 | ||
12620 | // SetPlatform sets the Platform field's value. | |
12621 | func (s *ListMobileSdkReleasesInput) SetPlatform(v string) *ListMobileSdkReleasesInput { | |
12622 | s.Platform = &v | |
12623 | return s | |
12624 | } | |
12625 | ||
12626 | type ListMobileSdkReleasesOutput struct { | |
12627 | _ struct{} `type:"structure"` | |
12628 | ||
12629 | // When you request a list of objects with a Limit setting, if the number of | |
12630 | // objects that are still available for retrieval exceeds the limit, WAF returns | |
12631 | // a NextMarker value in the response. To retrieve the next batch of objects, | |
12632 | // provide the marker from the prior call in your next request. | |
12633 | NextMarker *string `min:"1" type:"string"` | |
12634 | ||
12635 | // High level information for the available SDK releases. | |
12636 | ReleaseSummaries []*ReleaseSummary `type:"list"` | |
12637 | } | |
12638 | ||
12639 | // String returns the string representation. | |
12640 | // | |
12641 | // API parameter values that are decorated as "sensitive" in the API will not | |
12642 | // be included in the string output. The member name will be present, but the | |
12643 | // value will be replaced with "sensitive". | |
12644 | func (s ListMobileSdkReleasesOutput) String() string { | |
12645 | return awsutil.Prettify(s) | |
12646 | } | |
12647 | ||
12648 | // GoString returns the string representation. | |
12649 | // | |
12650 | // API parameter values that are decorated as "sensitive" in the API will not | |
12651 | // be included in the string output. The member name will be present, but the | |
12652 | // value will be replaced with "sensitive". | |
12653 | func (s ListMobileSdkReleasesOutput) GoString() string { | |
12654 | return s.String() | |
12655 | } | |
12656 | ||
12657 | // SetNextMarker sets the NextMarker field's value. | |
12658 | func (s *ListMobileSdkReleasesOutput) SetNextMarker(v string) *ListMobileSdkReleasesOutput { | |
12659 | s.NextMarker = &v | |
12660 | return s | |
12661 | } | |
12662 | ||
12663 | // SetReleaseSummaries sets the ReleaseSummaries field's value. | |
12664 | func (s *ListMobileSdkReleasesOutput) SetReleaseSummaries(v []*ReleaseSummary) *ListMobileSdkReleasesOutput { | |
12665 | s.ReleaseSummaries = v | |
12666 | return s | |
12667 | } | |
12668 | ||
12034 | 12669 | type ListRegexPatternSetsInput struct { |
12035 | 12670 | _ struct{} `type:"structure"` |
12036 | 12671 | |
12830 | 13465 | return s |
12831 | 13466 | } |
12832 | 13467 | |
13468 | // Additional information that's used by a managed rule group. Most managed | |
13469 | // rule groups don't require this. | |
13470 | // | |
13471 | // Use this for the account takeover prevention managed rule group AWSManagedRulesATPRuleSet, | |
13472 | // to provide information about the sign-in page of your application. | |
13473 | type ManagedRuleGroupConfig struct { | |
13474 | _ struct{} `type:"structure"` | |
13475 | ||
13476 | // The login endpoint for your application. For example https://example.com/web/login. | |
13477 | LoginPath *string `min:"1" type:"string"` | |
13478 | ||
13479 | // Details about your login page password field. | |
13480 | PasswordField *PasswordField `type:"structure"` | |
13481 | ||
13482 | // The payload type for your login endpoint, either JSON or form encoded. | |
13483 | PayloadType *string `type:"string" enum:"PayloadType"` | |
13484 | ||
13485 | // Details about your login page username field. | |
13486 | UsernameField *UsernameField `type:"structure"` | |
13487 | } | |
13488 | ||
13489 | // String returns the string representation. | |
13490 | // | |
13491 | // API parameter values that are decorated as "sensitive" in the API will not | |
13492 | // be included in the string output. The member name will be present, but the | |
13493 | // value will be replaced with "sensitive". | |
13494 | func (s ManagedRuleGroupConfig) String() string { | |
13495 | return awsutil.Prettify(s) | |
13496 | } | |
13497 | ||
13498 | // GoString returns the string representation. | |
13499 | // | |
13500 | // API parameter values that are decorated as "sensitive" in the API will not | |
13501 | // be included in the string output. The member name will be present, but the | |
13502 | // value will be replaced with "sensitive". | |
13503 | func (s ManagedRuleGroupConfig) GoString() string { | |
13504 | return s.String() | |
13505 | } | |
13506 | ||
13507 | // Validate inspects the fields of the type to determine if they are valid. | |
13508 | func (s *ManagedRuleGroupConfig) Validate() error { | |
13509 | invalidParams := request.ErrInvalidParams{Context: "ManagedRuleGroupConfig"} | |
13510 | if s.LoginPath != nil && len(*s.LoginPath) < 1 { | |
13511 | invalidParams.Add(request.NewErrParamMinLen("LoginPath", 1)) | |
13512 | } | |
13513 | if s.PasswordField != nil { | |
13514 | if err := s.PasswordField.Validate(); err != nil { | |
13515 | invalidParams.AddNested("PasswordField", err.(request.ErrInvalidParams)) | |
13516 | } | |
13517 | } | |
13518 | if s.UsernameField != nil { | |
13519 | if err := s.UsernameField.Validate(); err != nil { | |
13520 | invalidParams.AddNested("UsernameField", err.(request.ErrInvalidParams)) | |
13521 | } | |
13522 | } | |
13523 | ||
13524 | if invalidParams.Len() > 0 { | |
13525 | return invalidParams | |
13526 | } | |
13527 | return nil | |
13528 | } | |
13529 | ||
13530 | // SetLoginPath sets the LoginPath field's value. | |
13531 | func (s *ManagedRuleGroupConfig) SetLoginPath(v string) *ManagedRuleGroupConfig { | |
13532 | s.LoginPath = &v | |
13533 | return s | |
13534 | } | |
13535 | ||
13536 | // SetPasswordField sets the PasswordField field's value. | |
13537 | func (s *ManagedRuleGroupConfig) SetPasswordField(v *PasswordField) *ManagedRuleGroupConfig { | |
13538 | s.PasswordField = v | |
13539 | return s | |
13540 | } | |
13541 | ||
13542 | // SetPayloadType sets the PayloadType field's value. | |
13543 | func (s *ManagedRuleGroupConfig) SetPayloadType(v string) *ManagedRuleGroupConfig { | |
13544 | s.PayloadType = &v | |
13545 | return s | |
13546 | } | |
13547 | ||
13548 | // SetUsernameField sets the UsernameField field's value. | |
13549 | func (s *ManagedRuleGroupConfig) SetUsernameField(v *UsernameField) *ManagedRuleGroupConfig { | |
13550 | s.UsernameField = v | |
13551 | return s | |
13552 | } | |
13553 | ||
12833 | 13554 | // A rule statement used to run the rules that are defined in a managed rule |
12834 | 13555 | // group. To use this, provide the vendor name and the name of the rule group |
12835 | 13556 | // in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups. |
12845 | 13566 | // setting were Count. This is a useful option for testing the rules in a rule |
12846 | 13567 | // group without modifying how they handle your web traffic. |
12847 | 13568 | ExcludedRules []*ExcludedRule `type:"list"` |
13569 | ||
13570 | // Additional information that's used by a managed rule group. Most managed | |
13571 | // rule groups don't require this. | |
13572 | // | |
13573 | // Use this for the account takeover prevention managed rule group AWSManagedRulesATPRuleSet, | |
13574 | // to provide information about the sign-in page of your application. | |
13575 | ManagedRuleGroupConfigs []*ManagedRuleGroupConfig `min:"1" type:"list"` | |
12848 | 13576 | |
12849 | 13577 | // The name of the managed rule group. You use this, along with the vendor name, |
12850 | 13578 | // to identify the rule group. |
12893 | 13621 | // Validate inspects the fields of the type to determine if they are valid. |
12894 | 13622 | func (s *ManagedRuleGroupStatement) Validate() error { |
12895 | 13623 | invalidParams := request.ErrInvalidParams{Context: "ManagedRuleGroupStatement"} |
13624 | if s.ManagedRuleGroupConfigs != nil && len(s.ManagedRuleGroupConfigs) < 1 { | |
13625 | invalidParams.Add(request.NewErrParamMinLen("ManagedRuleGroupConfigs", 1)) | |
13626 | } | |
12896 | 13627 | if s.Name == nil { |
12897 | 13628 | invalidParams.Add(request.NewErrParamRequired("Name")) |
12898 | 13629 | } |
12918 | 13649 | } |
12919 | 13650 | } |
12920 | 13651 | } |
13652 | if s.ManagedRuleGroupConfigs != nil { | |
13653 | for i, v := range s.ManagedRuleGroupConfigs { | |
13654 | if v == nil { | |
13655 | continue | |
13656 | } | |
13657 | if err := v.Validate(); err != nil { | |
13658 | invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ManagedRuleGroupConfigs", i), err.(request.ErrInvalidParams)) | |
13659 | } | |
13660 | } | |
13661 | } | |
12921 | 13662 | if s.ScopeDownStatement != nil { |
12922 | 13663 | if err := s.ScopeDownStatement.Validate(); err != nil { |
12923 | 13664 | invalidParams.AddNested("ScopeDownStatement", err.(request.ErrInvalidParams)) |
12933 | 13674 | // SetExcludedRules sets the ExcludedRules field's value. |
12934 | 13675 | func (s *ManagedRuleGroupStatement) SetExcludedRules(v []*ExcludedRule) *ManagedRuleGroupStatement { |
12935 | 13676 | s.ExcludedRules = v |
13677 | return s | |
13678 | } | |
13679 | ||
13680 | // SetManagedRuleGroupConfigs sets the ManagedRuleGroupConfigs field's value. | |
13681 | func (s *ManagedRuleGroupStatement) SetManagedRuleGroupConfigs(v []*ManagedRuleGroupConfig) *ManagedRuleGroupStatement { | |
13682 | s.ManagedRuleGroupConfigs = v | |
12936 | 13683 | return s |
12937 | 13684 | } |
12938 | 13685 | |
13419 | 14166 | return s.String() |
13420 | 14167 | } |
13421 | 14168 | |
14169 | // Information for a release of the mobile SDK, including release notes and | |
14170 | // tags. | |
14171 | // | |
14172 | // The mobile SDK is not generally available. Customers who have access to the | |
14173 | // mobile SDK can use it to establish and manage Security Token Service (STS) | |
14174 | // security tokens for use in HTTP(S) requests from a mobile device to WAF. | |
14175 | type MobileSdkRelease struct { | |
14176 | _ struct{} `type:"structure"` | |
14177 | ||
14178 | // Notes describing the release. | |
14179 | ReleaseNotes *string `type:"string"` | |
14180 | ||
14181 | // The release version. | |
14182 | ReleaseVersion *string `min:"1" type:"string"` | |
14183 | ||
14184 | // Tags that are associated with the release. | |
14185 | Tags []*Tag `min:"1" type:"list"` | |
14186 | ||
14187 | // The timestamp of the release. | |
14188 | Timestamp *time.Time `type:"timestamp"` | |
14189 | } | |
14190 | ||
14191 | // String returns the string representation. | |
14192 | // | |
14193 | // API parameter values that are decorated as "sensitive" in the API will not | |
14194 | // be included in the string output. The member name will be present, but the | |
14195 | // value will be replaced with "sensitive". | |
14196 | func (s MobileSdkRelease) String() string { | |
14197 | return awsutil.Prettify(s) | |
14198 | } | |
14199 | ||
14200 | // GoString returns the string representation. | |
14201 | // | |
14202 | // API parameter values that are decorated as "sensitive" in the API will not | |
14203 | // be included in the string output. The member name will be present, but the | |
14204 | // value will be replaced with "sensitive". | |
14205 | func (s MobileSdkRelease) GoString() string { | |
14206 | return s.String() | |
14207 | } | |
14208 | ||
14209 | // SetReleaseNotes sets the ReleaseNotes field's value. | |
14210 | func (s *MobileSdkRelease) SetReleaseNotes(v string) *MobileSdkRelease { | |
14211 | s.ReleaseNotes = &v | |
14212 | return s | |
14213 | } | |
14214 | ||
14215 | // SetReleaseVersion sets the ReleaseVersion field's value. | |
14216 | func (s *MobileSdkRelease) SetReleaseVersion(v string) *MobileSdkRelease { | |
14217 | s.ReleaseVersion = &v | |
14218 | return s | |
14219 | } | |
14220 | ||
14221 | // SetTags sets the Tags field's value. | |
14222 | func (s *MobileSdkRelease) SetTags(v []*Tag) *MobileSdkRelease { | |
14223 | s.Tags = v | |
14224 | return s | |
14225 | } | |
14226 | ||
14227 | // SetTimestamp sets the Timestamp field's value. | |
14228 | func (s *MobileSdkRelease) SetTimestamp(v time.Time) *MobileSdkRelease { | |
14229 | s.Timestamp = &v | |
14230 | return s | |
14231 | } | |
14232 | ||
13422 | 14233 | // Specifies that WAF should do nothing. This is used for the OverrideAction |
13423 | 14234 | // setting on a Rule when the rule uses a rule group reference statement. |
13424 | 14235 | // |
13632 | 14443 | return s |
13633 | 14444 | } |
13634 | 14445 | |
14446 | // Details about your login page password field, used in a ManagedRuleGroupConfig. | |
14447 | type PasswordField struct { | |
14448 | _ struct{} `type:"structure"` | |
14449 | ||
14450 | // The name of the password field. For example /form/password. | |
14451 | // | |
14452 | // Identifier is a required field | |
14453 | Identifier *string `min:"1" type:"string" required:"true"` | |
14454 | } | |
14455 | ||
14456 | // String returns the string representation. | |
14457 | // | |
14458 | // API parameter values that are decorated as "sensitive" in the API will not | |
14459 | // be included in the string output. The member name will be present, but the | |
14460 | // value will be replaced with "sensitive". | |
14461 | func (s PasswordField) String() string { | |
14462 | return awsutil.Prettify(s) | |
14463 | } | |
14464 | ||
14465 | // GoString returns the string representation. | |
14466 | // | |
14467 | // API parameter values that are decorated as "sensitive" in the API will not | |
14468 | // be included in the string output. The member name will be present, but the | |
14469 | // value will be replaced with "sensitive". | |
14470 | func (s PasswordField) GoString() string { | |
14471 | return s.String() | |
14472 | } | |
14473 | ||
14474 | // Validate inspects the fields of the type to determine if they are valid. | |
14475 | func (s *PasswordField) Validate() error { | |
14476 | invalidParams := request.ErrInvalidParams{Context: "PasswordField"} | |
14477 | if s.Identifier == nil { | |
14478 | invalidParams.Add(request.NewErrParamRequired("Identifier")) | |
14479 | } | |
14480 | if s.Identifier != nil && len(*s.Identifier) < 1 { | |
14481 | invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) | |
14482 | } | |
14483 | ||
14484 | if invalidParams.Len() > 0 { | |
14485 | return invalidParams | |
14486 | } | |
14487 | return nil | |
14488 | } | |
14489 | ||
14490 | // SetIdentifier sets the Identifier field's value. | |
14491 | func (s *PasswordField) SetIdentifier(v string) *PasswordField { | |
14492 | s.Identifier = &v | |
14493 | return s | |
14494 | } | |
14495 | ||
13635 | 14496 | type PutLoggingConfigurationInput struct { |
13636 | 14497 | _ struct{} `type:"structure"` |
13637 | 14498 | |
14654 | 15515 | return s |
14655 | 15516 | } |
14656 | 15517 | |
15518 | // High level information for an SDK release. | |
15519 | type ReleaseSummary struct { | |
15520 | _ struct{} `type:"structure"` | |
15521 | ||
15522 | // The release version. | |
15523 | ReleaseVersion *string `min:"1" type:"string"` | |
15524 | ||
15525 | // The timestamp of the release. | |
15526 | Timestamp *time.Time `type:"timestamp"` | |
15527 | } | |
15528 | ||
15529 | // String returns the string representation. | |
15530 | // | |
15531 | // API parameter values that are decorated as "sensitive" in the API will not | |
15532 | // be included in the string output. The member name will be present, but the | |
15533 | // value will be replaced with "sensitive". | |
15534 | func (s ReleaseSummary) String() string { | |
15535 | return awsutil.Prettify(s) | |
15536 | } | |
15537 | ||
15538 | // GoString returns the string representation. | |
15539 | // | |
15540 | // API parameter values that are decorated as "sensitive" in the API will not | |
15541 | // be included in the string output. The member name will be present, but the | |
15542 | // value will be replaced with "sensitive". | |
15543 | func (s ReleaseSummary) GoString() string { | |
15544 | return s.String() | |
15545 | } | |
15546 | ||
15547 | // SetReleaseVersion sets the ReleaseVersion field's value. | |
15548 | func (s *ReleaseSummary) SetReleaseVersion(v string) *ReleaseSummary { | |
15549 | s.ReleaseVersion = &v | |
15550 | return s | |
15551 | } | |
15552 | ||
15553 | // SetTimestamp sets the Timestamp field's value. | |
15554 | func (s *ReleaseSummary) SetTimestamp(v time.Time) *ReleaseSummary { | |
15555 | s.Timestamp = &v | |
15556 | return s | |
15557 | } | |
15558 | ||
14657 | 15559 | // A single rule, which you can use in a WebACL or RuleGroup to identify web |
14658 | 15560 | // requests that you want to allow, block, or count. Each rule includes one |
14659 | 15561 | // top-level Statement that WAF uses to identify matching web requests, and |
17836 | 18738 | // value will be replaced with "sensitive". |
17837 | 18739 | func (s UriPath) GoString() string { |
17838 | 18740 | return s.String() |
18741 | } | |
18742 | ||
18743 | // Details about your login page username field, used in a ManagedRuleGroupConfig. | |
18744 | type UsernameField struct { | |
18745 | _ struct{} `type:"structure"` | |
18746 | ||
18747 | // The name of the username field. For example /form/username. | |
18748 | // | |
18749 | // Identifier is a required field | |
18750 | Identifier *string `min:"1" type:"string" required:"true"` | |
18751 | } | |
18752 | ||
18753 | // String returns the string representation. | |
18754 | // | |
18755 | // API parameter values that are decorated as "sensitive" in the API will not | |
18756 | // be included in the string output. The member name will be present, but the | |
18757 | // value will be replaced with "sensitive". | |
18758 | func (s UsernameField) String() string { | |
18759 | return awsutil.Prettify(s) | |
18760 | } | |
18761 | ||
18762 | // GoString returns the string representation. | |
18763 | // | |
18764 | // API parameter values that are decorated as "sensitive" in the API will not | |
18765 | // be included in the string output. The member name will be present, but the | |
18766 | // value will be replaced with "sensitive". | |
18767 | func (s UsernameField) GoString() string { | |
18768 | return s.String() | |
18769 | } | |
18770 | ||
18771 | // Validate inspects the fields of the type to determine if they are valid. | |
18772 | func (s *UsernameField) Validate() error { | |
18773 | invalidParams := request.ErrInvalidParams{Context: "UsernameField"} | |
18774 | if s.Identifier == nil { | |
18775 | invalidParams.Add(request.NewErrParamRequired("Identifier")) | |
18776 | } | |
18777 | if s.Identifier != nil && len(*s.Identifier) < 1 { | |
18778 | invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) | |
18779 | } | |
18780 | ||
18781 | if invalidParams.Len() > 0 { | |
18782 | return invalidParams | |
18783 | } | |
18784 | return nil | |
18785 | } | |
18786 | ||
18787 | // SetIdentifier sets the Identifier field's value. | |
18788 | func (s *UsernameField) SetIdentifier(v string) *UsernameField { | |
18789 | s.Identifier = &v | |
18790 | return s | |
17839 | 18791 | } |
17840 | 18792 | |
17841 | 18793 | // A version of the named managed rule group, that the rule group's vendor publishes |
20921 | 21873 | |
20922 | 21874 | // ParameterExceptionFieldLogDestination is a ParameterExceptionField enum value |
20923 | 21875 | ParameterExceptionFieldLogDestination = "LOG_DESTINATION" |
21876 | ||
21877 | // ParameterExceptionFieldManagedRuleGroupConfig is a ParameterExceptionField enum value | |
21878 | ParameterExceptionFieldManagedRuleGroupConfig = "MANAGED_RULE_GROUP_CONFIG" | |
21879 | ||
21880 | // ParameterExceptionFieldPayloadType is a ParameterExceptionField enum value | |
21881 | ParameterExceptionFieldPayloadType = "PAYLOAD_TYPE" | |
20924 | 21882 | ) |
20925 | 21883 | |
20926 | 21884 | // ParameterExceptionField_Values returns all elements of the ParameterExceptionField enum |
20983 | 21941 | ParameterExceptionFieldChangePropagationStatus, |
20984 | 21942 | ParameterExceptionFieldAssociableResource, |
20985 | 21943 | ParameterExceptionFieldLogDestination, |
21944 | ParameterExceptionFieldManagedRuleGroupConfig, | |
21945 | ParameterExceptionFieldPayloadType, | |
21946 | } | |
21947 | } | |
21948 | ||
21949 | const ( | |
21950 | // PayloadTypeJson is a PayloadType enum value | |
21951 | PayloadTypeJson = "JSON" | |
21952 | ||
21953 | // PayloadTypeFormEncoded is a PayloadType enum value | |
21954 | PayloadTypeFormEncoded = "FORM_ENCODED" | |
21955 | ) | |
21956 | ||
21957 | // PayloadType_Values returns all elements of the PayloadType enum | |
21958 | func PayloadType_Values() []string { | |
21959 | return []string{ | |
21960 | PayloadTypeJson, | |
21961 | PayloadTypeFormEncoded, | |
21962 | } | |
21963 | } | |
21964 | ||
21965 | const ( | |
21966 | // PlatformIos is a Platform enum value | |
21967 | PlatformIos = "IOS" | |
21968 | ||
21969 | // PlatformAndroid is a Platform enum value | |
21970 | PlatformAndroid = "ANDROID" | |
21971 | ) | |
21972 | ||
21973 | // Platform_Values returns all elements of the Platform enum | |
21974 | func Platform_Values() []string { | |
21975 | return []string{ | |
21976 | PlatformIos, | |
21977 | PlatformAndroid, | |
20986 | 21978 | } |
20987 | 21979 | } |
20988 | 21980 |
119 | 119 | DisassociateWebACLWithContext(aws.Context, *wafv2.DisassociateWebACLInput, ...request.Option) (*wafv2.DisassociateWebACLOutput, error) |
120 | 120 | DisassociateWebACLRequest(*wafv2.DisassociateWebACLInput) (*request.Request, *wafv2.DisassociateWebACLOutput) |
121 | 121 | |
122 | GenerateMobileSdkReleaseUrl(*wafv2.GenerateMobileSdkReleaseUrlInput) (*wafv2.GenerateMobileSdkReleaseUrlOutput, error) | |
123 | GenerateMobileSdkReleaseUrlWithContext(aws.Context, *wafv2.GenerateMobileSdkReleaseUrlInput, ...request.Option) (*wafv2.GenerateMobileSdkReleaseUrlOutput, error) | |
124 | GenerateMobileSdkReleaseUrlRequest(*wafv2.GenerateMobileSdkReleaseUrlInput) (*request.Request, *wafv2.GenerateMobileSdkReleaseUrlOutput) | |
125 | ||
122 | 126 | GetIPSet(*wafv2.GetIPSetInput) (*wafv2.GetIPSetOutput, error) |
123 | 127 | GetIPSetWithContext(aws.Context, *wafv2.GetIPSetInput, ...request.Option) (*wafv2.GetIPSetOutput, error) |
124 | 128 | GetIPSetRequest(*wafv2.GetIPSetInput) (*request.Request, *wafv2.GetIPSetOutput) |
131 | 135 | GetManagedRuleSetWithContext(aws.Context, *wafv2.GetManagedRuleSetInput, ...request.Option) (*wafv2.GetManagedRuleSetOutput, error) |
132 | 136 | GetManagedRuleSetRequest(*wafv2.GetManagedRuleSetInput) (*request.Request, *wafv2.GetManagedRuleSetOutput) |
133 | 137 | |
138 | GetMobileSdkRelease(*wafv2.GetMobileSdkReleaseInput) (*wafv2.GetMobileSdkReleaseOutput, error) | |
139 | GetMobileSdkReleaseWithContext(aws.Context, *wafv2.GetMobileSdkReleaseInput, ...request.Option) (*wafv2.GetMobileSdkReleaseOutput, error) | |
140 | GetMobileSdkReleaseRequest(*wafv2.GetMobileSdkReleaseInput) (*request.Request, *wafv2.GetMobileSdkReleaseOutput) | |
141 | ||
134 | 142 | GetPermissionPolicy(*wafv2.GetPermissionPolicyInput) (*wafv2.GetPermissionPolicyOutput, error) |
135 | 143 | GetPermissionPolicyWithContext(aws.Context, *wafv2.GetPermissionPolicyInput, ...request.Option) (*wafv2.GetPermissionPolicyOutput, error) |
136 | 144 | GetPermissionPolicyRequest(*wafv2.GetPermissionPolicyInput) (*request.Request, *wafv2.GetPermissionPolicyOutput) |
178 | 186 | ListManagedRuleSets(*wafv2.ListManagedRuleSetsInput) (*wafv2.ListManagedRuleSetsOutput, error) |
179 | 187 | ListManagedRuleSetsWithContext(aws.Context, *wafv2.ListManagedRuleSetsInput, ...request.Option) (*wafv2.ListManagedRuleSetsOutput, error) |
180 | 188 | ListManagedRuleSetsRequest(*wafv2.ListManagedRuleSetsInput) (*request.Request, *wafv2.ListManagedRuleSetsOutput) |
189 | ||
190 | ListMobileSdkReleases(*wafv2.ListMobileSdkReleasesInput) (*wafv2.ListMobileSdkReleasesOutput, error) | |
191 | ListMobileSdkReleasesWithContext(aws.Context, *wafv2.ListMobileSdkReleasesInput, ...request.Option) (*wafv2.ListMobileSdkReleasesOutput, error) | |
192 | ListMobileSdkReleasesRequest(*wafv2.ListMobileSdkReleasesInput) (*request.Request, *wafv2.ListMobileSdkReleasesOutput) | |
181 | 193 | |
182 | 194 | ListRegexPatternSets(*wafv2.ListRegexPatternSetsInput) (*wafv2.ListRegexPatternSetsOutput, error) |
183 | 195 | ListRegexPatternSetsWithContext(aws.Context, *wafv2.ListRegexPatternSetsInput, ...request.Option) (*wafv2.ListRegexPatternSetsOutput, error) |