rebase: bump github.com/aws/aws-sdk-go from 1.44.254 to 1.44.259

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.254 to 1.44.259.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.254...v1.44.259)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-05-08 20:59:29 +00:00
committed by mergify[bot]
parent 85929c44c4
commit 449c6ad24c
9 changed files with 411 additions and 167 deletions

View File

@ -40885,6 +40885,12 @@ func (c *EC2) GetNetworkInsightsAccessScopeAnalysisFindingsRequest(input *GetNet
Name: opGetNetworkInsightsAccessScopeAnalysisFindings,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"NextToken"},
OutputTokens: []string{"NextToken"},
LimitToken: "MaxResults",
TruncationToken: "",
},
}
if input == nil {
@ -40928,6 +40934,57 @@ func (c *EC2) GetNetworkInsightsAccessScopeAnalysisFindingsWithContext(ctx aws.C
return out, req.Send()
}
// GetNetworkInsightsAccessScopeAnalysisFindingsPages iterates over the pages of a GetNetworkInsightsAccessScopeAnalysisFindings operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See GetNetworkInsightsAccessScopeAnalysisFindings method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a GetNetworkInsightsAccessScopeAnalysisFindings operation.
// pageNum := 0
// err := client.GetNetworkInsightsAccessScopeAnalysisFindingsPages(params,
// func(page *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
func (c *EC2) GetNetworkInsightsAccessScopeAnalysisFindingsPages(input *GetNetworkInsightsAccessScopeAnalysisFindingsInput, fn func(*GetNetworkInsightsAccessScopeAnalysisFindingsOutput, bool) bool) error {
return c.GetNetworkInsightsAccessScopeAnalysisFindingsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// GetNetworkInsightsAccessScopeAnalysisFindingsPagesWithContext same as GetNetworkInsightsAccessScopeAnalysisFindingsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) GetNetworkInsightsAccessScopeAnalysisFindingsPagesWithContext(ctx aws.Context, input *GetNetworkInsightsAccessScopeAnalysisFindingsInput, fn func(*GetNetworkInsightsAccessScopeAnalysisFindingsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *GetNetworkInsightsAccessScopeAnalysisFindingsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.GetNetworkInsightsAccessScopeAnalysisFindingsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
for p.Next() {
if !fn(p.Page().(*GetNetworkInsightsAccessScopeAnalysisFindingsOutput), !p.HasNextPage()) {
break
}
}
return p.Err()
}
const opGetNetworkInsightsAccessScopeContent = "GetNetworkInsightsAccessScopeContent"
// GetNetworkInsightsAccessScopeContentRequest generates a "aws/request.Request" representing the
@ -185691,6 +185748,21 @@ const (
// InstanceTypeR6idnMetal is a InstanceType enum value
InstanceTypeR6idnMetal = "r6idn.metal"
// InstanceTypeInf2Xlarge is a InstanceType enum value
InstanceTypeInf2Xlarge = "inf2.xlarge"
// InstanceTypeInf28xlarge is a InstanceType enum value
InstanceTypeInf28xlarge = "inf2.8xlarge"
// InstanceTypeInf224xlarge is a InstanceType enum value
InstanceTypeInf224xlarge = "inf2.24xlarge"
// InstanceTypeInf248xlarge is a InstanceType enum value
InstanceTypeInf248xlarge = "inf2.48xlarge"
// InstanceTypeTrn1n32xlarge is a InstanceType enum value
InstanceTypeTrn1n32xlarge = "trn1n.32xlarge"
)
// InstanceType_Values returns all elements of the InstanceType enum
@ -186339,6 +186411,11 @@ func InstanceType_Values() []string {
InstanceTypeM6idnMetal,
InstanceTypeR6inMetal,
InstanceTypeR6idnMetal,
InstanceTypeInf2Xlarge,
InstanceTypeInf28xlarge,
InstanceTypeInf224xlarge,
InstanceTypeInf248xlarge,
InstanceTypeTrn1n32xlarge,
}
}