mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
+1960
-391
File diff suppressed because it is too large
Load Diff
+34
@@ -0,0 +1,34 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package waf provides the client and types for making API
|
||||
// requests to AWS WAF.
|
||||
//
|
||||
// This is the AWS WAF API Reference for using AWS WAF with Amazon CloudFront.
|
||||
// The AWS WAF actions and data types listed in the reference are available
|
||||
// for protecting Amazon CloudFront distributions. You can use these actions
|
||||
// and data types via the endpoint waf.amazonaws.com. This guide is for developers
|
||||
// who need detailed information about the AWS WAF API actions, data types,
|
||||
// and errors. For detailed information about AWS WAF features and an overview
|
||||
// of how to use the AWS WAF API, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/).
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24 for more information on this service.
|
||||
//
|
||||
// See waf package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/waf/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To AWS WAF with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS WAF client WAF for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/waf/#New
|
||||
package waf
|
||||
+4
-1
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package waf
|
||||
|
||||
@@ -64,6 +64,9 @@ const (
|
||||
// * You tried to create a WebACL with a DefaultActionType other than ALLOW,
|
||||
// BLOCK, or COUNT.
|
||||
//
|
||||
// * You tried to create a RateBasedRule with a RateKey value other than
|
||||
// IP.
|
||||
//
|
||||
// * You tried to update a WebACL with a WafActionType other than ALLOW,
|
||||
// BLOCK, or COUNT.
|
||||
//
|
||||
|
||||
+1359
-878
File diff suppressed because it is too large
Load Diff
+7
-11
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package waf
|
||||
|
||||
@@ -11,16 +11,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
// This is the AWS WAF API Reference for using AWS WAF with Amazon CloudFront.
|
||||
// The AWS WAF actions and data types listed in the reference are available
|
||||
// for protecting Amazon CloudFront distributions. You can use these actions
|
||||
// and data types via the endpoint waf.amazonaws.com. This guide is for developers
|
||||
// who need detailed information about the AWS WAF API actions, data types,
|
||||
// and errors. For detailed information about AWS WAF features and an overview
|
||||
// of how to use the AWS WAF API, see the AWS WAF Developer Guide (http://docs.aws.amazon.com/waf/latest/developerguide/).
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24
|
||||
// WAF provides the API operation methods for making requests to
|
||||
// AWS WAF. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// WAF methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type WAF struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
+26
-2
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package wafiface provides an interface to enable mocking the AWS WAF service client
|
||||
// for testing your code.
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS WAF.
|
||||
@@ -68,6 +68,10 @@ type WAFAPI interface {
|
||||
CreateIPSetWithContext(aws.Context, *waf.CreateIPSetInput, ...request.Option) (*waf.CreateIPSetOutput, error)
|
||||
CreateIPSetRequest(*waf.CreateIPSetInput) (*request.Request, *waf.CreateIPSetOutput)
|
||||
|
||||
CreateRateBasedRule(*waf.CreateRateBasedRuleInput) (*waf.CreateRateBasedRuleOutput, error)
|
||||
CreateRateBasedRuleWithContext(aws.Context, *waf.CreateRateBasedRuleInput, ...request.Option) (*waf.CreateRateBasedRuleOutput, error)
|
||||
CreateRateBasedRuleRequest(*waf.CreateRateBasedRuleInput) (*request.Request, *waf.CreateRateBasedRuleOutput)
|
||||
|
||||
CreateRule(*waf.CreateRuleInput) (*waf.CreateRuleOutput, error)
|
||||
CreateRuleWithContext(aws.Context, *waf.CreateRuleInput, ...request.Option) (*waf.CreateRuleOutput, error)
|
||||
CreateRuleRequest(*waf.CreateRuleInput) (*request.Request, *waf.CreateRuleOutput)
|
||||
@@ -96,6 +100,10 @@ type WAFAPI interface {
|
||||
DeleteIPSetWithContext(aws.Context, *waf.DeleteIPSetInput, ...request.Option) (*waf.DeleteIPSetOutput, error)
|
||||
DeleteIPSetRequest(*waf.DeleteIPSetInput) (*request.Request, *waf.DeleteIPSetOutput)
|
||||
|
||||
DeleteRateBasedRule(*waf.DeleteRateBasedRuleInput) (*waf.DeleteRateBasedRuleOutput, error)
|
||||
DeleteRateBasedRuleWithContext(aws.Context, *waf.DeleteRateBasedRuleInput, ...request.Option) (*waf.DeleteRateBasedRuleOutput, error)
|
||||
DeleteRateBasedRuleRequest(*waf.DeleteRateBasedRuleInput) (*request.Request, *waf.DeleteRateBasedRuleOutput)
|
||||
|
||||
DeleteRule(*waf.DeleteRuleInput) (*waf.DeleteRuleOutput, error)
|
||||
DeleteRuleWithContext(aws.Context, *waf.DeleteRuleInput, ...request.Option) (*waf.DeleteRuleOutput, error)
|
||||
DeleteRuleRequest(*waf.DeleteRuleInput) (*request.Request, *waf.DeleteRuleOutput)
|
||||
@@ -132,6 +140,14 @@ type WAFAPI interface {
|
||||
GetIPSetWithContext(aws.Context, *waf.GetIPSetInput, ...request.Option) (*waf.GetIPSetOutput, error)
|
||||
GetIPSetRequest(*waf.GetIPSetInput) (*request.Request, *waf.GetIPSetOutput)
|
||||
|
||||
GetRateBasedRule(*waf.GetRateBasedRuleInput) (*waf.GetRateBasedRuleOutput, error)
|
||||
GetRateBasedRuleWithContext(aws.Context, *waf.GetRateBasedRuleInput, ...request.Option) (*waf.GetRateBasedRuleOutput, error)
|
||||
GetRateBasedRuleRequest(*waf.GetRateBasedRuleInput) (*request.Request, *waf.GetRateBasedRuleOutput)
|
||||
|
||||
GetRateBasedRuleManagedKeys(*waf.GetRateBasedRuleManagedKeysInput) (*waf.GetRateBasedRuleManagedKeysOutput, error)
|
||||
GetRateBasedRuleManagedKeysWithContext(aws.Context, *waf.GetRateBasedRuleManagedKeysInput, ...request.Option) (*waf.GetRateBasedRuleManagedKeysOutput, error)
|
||||
GetRateBasedRuleManagedKeysRequest(*waf.GetRateBasedRuleManagedKeysInput) (*request.Request, *waf.GetRateBasedRuleManagedKeysOutput)
|
||||
|
||||
GetRule(*waf.GetRuleInput) (*waf.GetRuleOutput, error)
|
||||
GetRuleWithContext(aws.Context, *waf.GetRuleInput, ...request.Option) (*waf.GetRuleOutput, error)
|
||||
GetRuleRequest(*waf.GetRuleInput) (*request.Request, *waf.GetRuleOutput)
|
||||
@@ -164,6 +180,10 @@ type WAFAPI interface {
|
||||
ListIPSetsWithContext(aws.Context, *waf.ListIPSetsInput, ...request.Option) (*waf.ListIPSetsOutput, error)
|
||||
ListIPSetsRequest(*waf.ListIPSetsInput) (*request.Request, *waf.ListIPSetsOutput)
|
||||
|
||||
ListRateBasedRules(*waf.ListRateBasedRulesInput) (*waf.ListRateBasedRulesOutput, error)
|
||||
ListRateBasedRulesWithContext(aws.Context, *waf.ListRateBasedRulesInput, ...request.Option) (*waf.ListRateBasedRulesOutput, error)
|
||||
ListRateBasedRulesRequest(*waf.ListRateBasedRulesInput) (*request.Request, *waf.ListRateBasedRulesOutput)
|
||||
|
||||
ListRules(*waf.ListRulesInput) (*waf.ListRulesOutput, error)
|
||||
ListRulesWithContext(aws.Context, *waf.ListRulesInput, ...request.Option) (*waf.ListRulesOutput, error)
|
||||
ListRulesRequest(*waf.ListRulesInput) (*request.Request, *waf.ListRulesOutput)
|
||||
@@ -192,6 +212,10 @@ type WAFAPI interface {
|
||||
UpdateIPSetWithContext(aws.Context, *waf.UpdateIPSetInput, ...request.Option) (*waf.UpdateIPSetOutput, error)
|
||||
UpdateIPSetRequest(*waf.UpdateIPSetInput) (*request.Request, *waf.UpdateIPSetOutput)
|
||||
|
||||
UpdateRateBasedRule(*waf.UpdateRateBasedRuleInput) (*waf.UpdateRateBasedRuleOutput, error)
|
||||
UpdateRateBasedRuleWithContext(aws.Context, *waf.UpdateRateBasedRuleInput, ...request.Option) (*waf.UpdateRateBasedRuleOutput, error)
|
||||
UpdateRateBasedRuleRequest(*waf.UpdateRateBasedRuleInput) (*request.Request, *waf.UpdateRateBasedRuleOutput)
|
||||
|
||||
UpdateRule(*waf.UpdateRuleInput) (*waf.UpdateRuleOutput, error)
|
||||
UpdateRuleWithContext(aws.Context, *waf.UpdateRuleInput, ...request.Option) (*waf.UpdateRuleOutput, error)
|
||||
UpdateRuleRequest(*waf.UpdateRuleInput) (*request.Request, *waf.UpdateRuleOutput)
|
||||
|
||||
Reference in New Issue
Block a user