mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-02 02:30:43 +00:00
Add all dependency of go-getter
This commit is contained in:
10577
vendor/github.com/aws/aws-sdk-go/service/configservice/api.go
generated
vendored
Normal file
10577
vendor/github.com/aws/aws-sdk-go/service/configservice/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
239
vendor/github.com/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go
generated
vendored
Normal file
239
vendor/github.com/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go
generated
vendored
Normal file
@@ -0,0 +1,239 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package configserviceiface provides an interface to enable mocking the AWS Config service client
|
||||
// for testing your code.
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters.
|
||||
package configserviceiface
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/service/configservice"
|
||||
)
|
||||
|
||||
// ConfigServiceAPI provides an interface to enable mocking the
|
||||
// configservice.ConfigService service client's API operation,
|
||||
// paginators, and waiters. This make unit testing your code that calls out
|
||||
// to the SDK's service client's calls easier.
|
||||
//
|
||||
// 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 SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Config.
|
||||
// func myFunc(svc configserviceiface.ConfigServiceAPI) bool {
|
||||
// // Make svc.BatchGetResourceConfig request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// sess := session.New()
|
||||
// svc := configservice.New(sess)
|
||||
//
|
||||
// myFunc(svc)
|
||||
// }
|
||||
//
|
||||
// In your _test.go file:
|
||||
//
|
||||
// // Define a mock struct to be used in your unit tests of myFunc.
|
||||
// type mockConfigServiceClient struct {
|
||||
// configserviceiface.ConfigServiceAPI
|
||||
// }
|
||||
// func (m *mockConfigServiceClient) BatchGetResourceConfig(input *configservice.BatchGetResourceConfigInput) (*configservice.BatchGetResourceConfigOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
// func TestMyFunc(t *testing.T) {
|
||||
// // Setup Test
|
||||
// mockSvc := &mockConfigServiceClient{}
|
||||
//
|
||||
// myfunc(mockSvc)
|
||||
//
|
||||
// // Verify myFunc's functionality
|
||||
// }
|
||||
//
|
||||
// It is important to note that this interface will have breaking changes
|
||||
// when the service model is updated and adds new API operations, paginators,
|
||||
// and waiters. Its suggested to use the pattern above for testing, or using
|
||||
// tooling to generate mocks to satisfy the interfaces.
|
||||
type ConfigServiceAPI interface {
|
||||
BatchGetResourceConfig(*configservice.BatchGetResourceConfigInput) (*configservice.BatchGetResourceConfigOutput, error)
|
||||
BatchGetResourceConfigWithContext(aws.Context, *configservice.BatchGetResourceConfigInput, ...request.Option) (*configservice.BatchGetResourceConfigOutput, error)
|
||||
BatchGetResourceConfigRequest(*configservice.BatchGetResourceConfigInput) (*request.Request, *configservice.BatchGetResourceConfigOutput)
|
||||
|
||||
DeleteAggregationAuthorization(*configservice.DeleteAggregationAuthorizationInput) (*configservice.DeleteAggregationAuthorizationOutput, error)
|
||||
DeleteAggregationAuthorizationWithContext(aws.Context, *configservice.DeleteAggregationAuthorizationInput, ...request.Option) (*configservice.DeleteAggregationAuthorizationOutput, error)
|
||||
DeleteAggregationAuthorizationRequest(*configservice.DeleteAggregationAuthorizationInput) (*request.Request, *configservice.DeleteAggregationAuthorizationOutput)
|
||||
|
||||
DeleteConfigRule(*configservice.DeleteConfigRuleInput) (*configservice.DeleteConfigRuleOutput, error)
|
||||
DeleteConfigRuleWithContext(aws.Context, *configservice.DeleteConfigRuleInput, ...request.Option) (*configservice.DeleteConfigRuleOutput, error)
|
||||
DeleteConfigRuleRequest(*configservice.DeleteConfigRuleInput) (*request.Request, *configservice.DeleteConfigRuleOutput)
|
||||
|
||||
DeleteConfigurationAggregator(*configservice.DeleteConfigurationAggregatorInput) (*configservice.DeleteConfigurationAggregatorOutput, error)
|
||||
DeleteConfigurationAggregatorWithContext(aws.Context, *configservice.DeleteConfigurationAggregatorInput, ...request.Option) (*configservice.DeleteConfigurationAggregatorOutput, error)
|
||||
DeleteConfigurationAggregatorRequest(*configservice.DeleteConfigurationAggregatorInput) (*request.Request, *configservice.DeleteConfigurationAggregatorOutput)
|
||||
|
||||
DeleteConfigurationRecorder(*configservice.DeleteConfigurationRecorderInput) (*configservice.DeleteConfigurationRecorderOutput, error)
|
||||
DeleteConfigurationRecorderWithContext(aws.Context, *configservice.DeleteConfigurationRecorderInput, ...request.Option) (*configservice.DeleteConfigurationRecorderOutput, error)
|
||||
DeleteConfigurationRecorderRequest(*configservice.DeleteConfigurationRecorderInput) (*request.Request, *configservice.DeleteConfigurationRecorderOutput)
|
||||
|
||||
DeleteDeliveryChannel(*configservice.DeleteDeliveryChannelInput) (*configservice.DeleteDeliveryChannelOutput, error)
|
||||
DeleteDeliveryChannelWithContext(aws.Context, *configservice.DeleteDeliveryChannelInput, ...request.Option) (*configservice.DeleteDeliveryChannelOutput, error)
|
||||
DeleteDeliveryChannelRequest(*configservice.DeleteDeliveryChannelInput) (*request.Request, *configservice.DeleteDeliveryChannelOutput)
|
||||
|
||||
DeleteEvaluationResults(*configservice.DeleteEvaluationResultsInput) (*configservice.DeleteEvaluationResultsOutput, error)
|
||||
DeleteEvaluationResultsWithContext(aws.Context, *configservice.DeleteEvaluationResultsInput, ...request.Option) (*configservice.DeleteEvaluationResultsOutput, error)
|
||||
DeleteEvaluationResultsRequest(*configservice.DeleteEvaluationResultsInput) (*request.Request, *configservice.DeleteEvaluationResultsOutput)
|
||||
|
||||
DeletePendingAggregationRequest(*configservice.DeletePendingAggregationRequestInput) (*configservice.DeletePendingAggregationRequestOutput, error)
|
||||
DeletePendingAggregationRequestWithContext(aws.Context, *configservice.DeletePendingAggregationRequestInput, ...request.Option) (*configservice.DeletePendingAggregationRequestOutput, error)
|
||||
DeletePendingAggregationRequestRequest(*configservice.DeletePendingAggregationRequestInput) (*request.Request, *configservice.DeletePendingAggregationRequestOutput)
|
||||
|
||||
DeleteRetentionConfiguration(*configservice.DeleteRetentionConfigurationInput) (*configservice.DeleteRetentionConfigurationOutput, error)
|
||||
DeleteRetentionConfigurationWithContext(aws.Context, *configservice.DeleteRetentionConfigurationInput, ...request.Option) (*configservice.DeleteRetentionConfigurationOutput, error)
|
||||
DeleteRetentionConfigurationRequest(*configservice.DeleteRetentionConfigurationInput) (*request.Request, *configservice.DeleteRetentionConfigurationOutput)
|
||||
|
||||
DeliverConfigSnapshot(*configservice.DeliverConfigSnapshotInput) (*configservice.DeliverConfigSnapshotOutput, error)
|
||||
DeliverConfigSnapshotWithContext(aws.Context, *configservice.DeliverConfigSnapshotInput, ...request.Option) (*configservice.DeliverConfigSnapshotOutput, error)
|
||||
DeliverConfigSnapshotRequest(*configservice.DeliverConfigSnapshotInput) (*request.Request, *configservice.DeliverConfigSnapshotOutput)
|
||||
|
||||
DescribeAggregateComplianceByConfigRules(*configservice.DescribeAggregateComplianceByConfigRulesInput) (*configservice.DescribeAggregateComplianceByConfigRulesOutput, error)
|
||||
DescribeAggregateComplianceByConfigRulesWithContext(aws.Context, *configservice.DescribeAggregateComplianceByConfigRulesInput, ...request.Option) (*configservice.DescribeAggregateComplianceByConfigRulesOutput, error)
|
||||
DescribeAggregateComplianceByConfigRulesRequest(*configservice.DescribeAggregateComplianceByConfigRulesInput) (*request.Request, *configservice.DescribeAggregateComplianceByConfigRulesOutput)
|
||||
|
||||
DescribeAggregationAuthorizations(*configservice.DescribeAggregationAuthorizationsInput) (*configservice.DescribeAggregationAuthorizationsOutput, error)
|
||||
DescribeAggregationAuthorizationsWithContext(aws.Context, *configservice.DescribeAggregationAuthorizationsInput, ...request.Option) (*configservice.DescribeAggregationAuthorizationsOutput, error)
|
||||
DescribeAggregationAuthorizationsRequest(*configservice.DescribeAggregationAuthorizationsInput) (*request.Request, *configservice.DescribeAggregationAuthorizationsOutput)
|
||||
|
||||
DescribeComplianceByConfigRule(*configservice.DescribeComplianceByConfigRuleInput) (*configservice.DescribeComplianceByConfigRuleOutput, error)
|
||||
DescribeComplianceByConfigRuleWithContext(aws.Context, *configservice.DescribeComplianceByConfigRuleInput, ...request.Option) (*configservice.DescribeComplianceByConfigRuleOutput, error)
|
||||
DescribeComplianceByConfigRuleRequest(*configservice.DescribeComplianceByConfigRuleInput) (*request.Request, *configservice.DescribeComplianceByConfigRuleOutput)
|
||||
|
||||
DescribeComplianceByResource(*configservice.DescribeComplianceByResourceInput) (*configservice.DescribeComplianceByResourceOutput, error)
|
||||
DescribeComplianceByResourceWithContext(aws.Context, *configservice.DescribeComplianceByResourceInput, ...request.Option) (*configservice.DescribeComplianceByResourceOutput, error)
|
||||
DescribeComplianceByResourceRequest(*configservice.DescribeComplianceByResourceInput) (*request.Request, *configservice.DescribeComplianceByResourceOutput)
|
||||
|
||||
DescribeConfigRuleEvaluationStatus(*configservice.DescribeConfigRuleEvaluationStatusInput) (*configservice.DescribeConfigRuleEvaluationStatusOutput, error)
|
||||
DescribeConfigRuleEvaluationStatusWithContext(aws.Context, *configservice.DescribeConfigRuleEvaluationStatusInput, ...request.Option) (*configservice.DescribeConfigRuleEvaluationStatusOutput, error)
|
||||
DescribeConfigRuleEvaluationStatusRequest(*configservice.DescribeConfigRuleEvaluationStatusInput) (*request.Request, *configservice.DescribeConfigRuleEvaluationStatusOutput)
|
||||
|
||||
DescribeConfigRules(*configservice.DescribeConfigRulesInput) (*configservice.DescribeConfigRulesOutput, error)
|
||||
DescribeConfigRulesWithContext(aws.Context, *configservice.DescribeConfigRulesInput, ...request.Option) (*configservice.DescribeConfigRulesOutput, error)
|
||||
DescribeConfigRulesRequest(*configservice.DescribeConfigRulesInput) (*request.Request, *configservice.DescribeConfigRulesOutput)
|
||||
|
||||
DescribeConfigurationAggregatorSourcesStatus(*configservice.DescribeConfigurationAggregatorSourcesStatusInput) (*configservice.DescribeConfigurationAggregatorSourcesStatusOutput, error)
|
||||
DescribeConfigurationAggregatorSourcesStatusWithContext(aws.Context, *configservice.DescribeConfigurationAggregatorSourcesStatusInput, ...request.Option) (*configservice.DescribeConfigurationAggregatorSourcesStatusOutput, error)
|
||||
DescribeConfigurationAggregatorSourcesStatusRequest(*configservice.DescribeConfigurationAggregatorSourcesStatusInput) (*request.Request, *configservice.DescribeConfigurationAggregatorSourcesStatusOutput)
|
||||
|
||||
DescribeConfigurationAggregators(*configservice.DescribeConfigurationAggregatorsInput) (*configservice.DescribeConfigurationAggregatorsOutput, error)
|
||||
DescribeConfigurationAggregatorsWithContext(aws.Context, *configservice.DescribeConfigurationAggregatorsInput, ...request.Option) (*configservice.DescribeConfigurationAggregatorsOutput, error)
|
||||
DescribeConfigurationAggregatorsRequest(*configservice.DescribeConfigurationAggregatorsInput) (*request.Request, *configservice.DescribeConfigurationAggregatorsOutput)
|
||||
|
||||
DescribeConfigurationRecorderStatus(*configservice.DescribeConfigurationRecorderStatusInput) (*configservice.DescribeConfigurationRecorderStatusOutput, error)
|
||||
DescribeConfigurationRecorderStatusWithContext(aws.Context, *configservice.DescribeConfigurationRecorderStatusInput, ...request.Option) (*configservice.DescribeConfigurationRecorderStatusOutput, error)
|
||||
DescribeConfigurationRecorderStatusRequest(*configservice.DescribeConfigurationRecorderStatusInput) (*request.Request, *configservice.DescribeConfigurationRecorderStatusOutput)
|
||||
|
||||
DescribeConfigurationRecorders(*configservice.DescribeConfigurationRecordersInput) (*configservice.DescribeConfigurationRecordersOutput, error)
|
||||
DescribeConfigurationRecordersWithContext(aws.Context, *configservice.DescribeConfigurationRecordersInput, ...request.Option) (*configservice.DescribeConfigurationRecordersOutput, error)
|
||||
DescribeConfigurationRecordersRequest(*configservice.DescribeConfigurationRecordersInput) (*request.Request, *configservice.DescribeConfigurationRecordersOutput)
|
||||
|
||||
DescribeDeliveryChannelStatus(*configservice.DescribeDeliveryChannelStatusInput) (*configservice.DescribeDeliveryChannelStatusOutput, error)
|
||||
DescribeDeliveryChannelStatusWithContext(aws.Context, *configservice.DescribeDeliveryChannelStatusInput, ...request.Option) (*configservice.DescribeDeliveryChannelStatusOutput, error)
|
||||
DescribeDeliveryChannelStatusRequest(*configservice.DescribeDeliveryChannelStatusInput) (*request.Request, *configservice.DescribeDeliveryChannelStatusOutput)
|
||||
|
||||
DescribeDeliveryChannels(*configservice.DescribeDeliveryChannelsInput) (*configservice.DescribeDeliveryChannelsOutput, error)
|
||||
DescribeDeliveryChannelsWithContext(aws.Context, *configservice.DescribeDeliveryChannelsInput, ...request.Option) (*configservice.DescribeDeliveryChannelsOutput, error)
|
||||
DescribeDeliveryChannelsRequest(*configservice.DescribeDeliveryChannelsInput) (*request.Request, *configservice.DescribeDeliveryChannelsOutput)
|
||||
|
||||
DescribePendingAggregationRequests(*configservice.DescribePendingAggregationRequestsInput) (*configservice.DescribePendingAggregationRequestsOutput, error)
|
||||
DescribePendingAggregationRequestsWithContext(aws.Context, *configservice.DescribePendingAggregationRequestsInput, ...request.Option) (*configservice.DescribePendingAggregationRequestsOutput, error)
|
||||
DescribePendingAggregationRequestsRequest(*configservice.DescribePendingAggregationRequestsInput) (*request.Request, *configservice.DescribePendingAggregationRequestsOutput)
|
||||
|
||||
DescribeRetentionConfigurations(*configservice.DescribeRetentionConfigurationsInput) (*configservice.DescribeRetentionConfigurationsOutput, error)
|
||||
DescribeRetentionConfigurationsWithContext(aws.Context, *configservice.DescribeRetentionConfigurationsInput, ...request.Option) (*configservice.DescribeRetentionConfigurationsOutput, error)
|
||||
DescribeRetentionConfigurationsRequest(*configservice.DescribeRetentionConfigurationsInput) (*request.Request, *configservice.DescribeRetentionConfigurationsOutput)
|
||||
|
||||
GetAggregateComplianceDetailsByConfigRule(*configservice.GetAggregateComplianceDetailsByConfigRuleInput) (*configservice.GetAggregateComplianceDetailsByConfigRuleOutput, error)
|
||||
GetAggregateComplianceDetailsByConfigRuleWithContext(aws.Context, *configservice.GetAggregateComplianceDetailsByConfigRuleInput, ...request.Option) (*configservice.GetAggregateComplianceDetailsByConfigRuleOutput, error)
|
||||
GetAggregateComplianceDetailsByConfigRuleRequest(*configservice.GetAggregateComplianceDetailsByConfigRuleInput) (*request.Request, *configservice.GetAggregateComplianceDetailsByConfigRuleOutput)
|
||||
|
||||
GetAggregateConfigRuleComplianceSummary(*configservice.GetAggregateConfigRuleComplianceSummaryInput) (*configservice.GetAggregateConfigRuleComplianceSummaryOutput, error)
|
||||
GetAggregateConfigRuleComplianceSummaryWithContext(aws.Context, *configservice.GetAggregateConfigRuleComplianceSummaryInput, ...request.Option) (*configservice.GetAggregateConfigRuleComplianceSummaryOutput, error)
|
||||
GetAggregateConfigRuleComplianceSummaryRequest(*configservice.GetAggregateConfigRuleComplianceSummaryInput) (*request.Request, *configservice.GetAggregateConfigRuleComplianceSummaryOutput)
|
||||
|
||||
GetComplianceDetailsByConfigRule(*configservice.GetComplianceDetailsByConfigRuleInput) (*configservice.GetComplianceDetailsByConfigRuleOutput, error)
|
||||
GetComplianceDetailsByConfigRuleWithContext(aws.Context, *configservice.GetComplianceDetailsByConfigRuleInput, ...request.Option) (*configservice.GetComplianceDetailsByConfigRuleOutput, error)
|
||||
GetComplianceDetailsByConfigRuleRequest(*configservice.GetComplianceDetailsByConfigRuleInput) (*request.Request, *configservice.GetComplianceDetailsByConfigRuleOutput)
|
||||
|
||||
GetComplianceDetailsByResource(*configservice.GetComplianceDetailsByResourceInput) (*configservice.GetComplianceDetailsByResourceOutput, error)
|
||||
GetComplianceDetailsByResourceWithContext(aws.Context, *configservice.GetComplianceDetailsByResourceInput, ...request.Option) (*configservice.GetComplianceDetailsByResourceOutput, error)
|
||||
GetComplianceDetailsByResourceRequest(*configservice.GetComplianceDetailsByResourceInput) (*request.Request, *configservice.GetComplianceDetailsByResourceOutput)
|
||||
|
||||
GetComplianceSummaryByConfigRule(*configservice.GetComplianceSummaryByConfigRuleInput) (*configservice.GetComplianceSummaryByConfigRuleOutput, error)
|
||||
GetComplianceSummaryByConfigRuleWithContext(aws.Context, *configservice.GetComplianceSummaryByConfigRuleInput, ...request.Option) (*configservice.GetComplianceSummaryByConfigRuleOutput, error)
|
||||
GetComplianceSummaryByConfigRuleRequest(*configservice.GetComplianceSummaryByConfigRuleInput) (*request.Request, *configservice.GetComplianceSummaryByConfigRuleOutput)
|
||||
|
||||
GetComplianceSummaryByResourceType(*configservice.GetComplianceSummaryByResourceTypeInput) (*configservice.GetComplianceSummaryByResourceTypeOutput, error)
|
||||
GetComplianceSummaryByResourceTypeWithContext(aws.Context, *configservice.GetComplianceSummaryByResourceTypeInput, ...request.Option) (*configservice.GetComplianceSummaryByResourceTypeOutput, error)
|
||||
GetComplianceSummaryByResourceTypeRequest(*configservice.GetComplianceSummaryByResourceTypeInput) (*request.Request, *configservice.GetComplianceSummaryByResourceTypeOutput)
|
||||
|
||||
GetDiscoveredResourceCounts(*configservice.GetDiscoveredResourceCountsInput) (*configservice.GetDiscoveredResourceCountsOutput, error)
|
||||
GetDiscoveredResourceCountsWithContext(aws.Context, *configservice.GetDiscoveredResourceCountsInput, ...request.Option) (*configservice.GetDiscoveredResourceCountsOutput, error)
|
||||
GetDiscoveredResourceCountsRequest(*configservice.GetDiscoveredResourceCountsInput) (*request.Request, *configservice.GetDiscoveredResourceCountsOutput)
|
||||
|
||||
GetResourceConfigHistory(*configservice.GetResourceConfigHistoryInput) (*configservice.GetResourceConfigHistoryOutput, error)
|
||||
GetResourceConfigHistoryWithContext(aws.Context, *configservice.GetResourceConfigHistoryInput, ...request.Option) (*configservice.GetResourceConfigHistoryOutput, error)
|
||||
GetResourceConfigHistoryRequest(*configservice.GetResourceConfigHistoryInput) (*request.Request, *configservice.GetResourceConfigHistoryOutput)
|
||||
|
||||
GetResourceConfigHistoryPages(*configservice.GetResourceConfigHistoryInput, func(*configservice.GetResourceConfigHistoryOutput, bool) bool) error
|
||||
GetResourceConfigHistoryPagesWithContext(aws.Context, *configservice.GetResourceConfigHistoryInput, func(*configservice.GetResourceConfigHistoryOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListDiscoveredResources(*configservice.ListDiscoveredResourcesInput) (*configservice.ListDiscoveredResourcesOutput, error)
|
||||
ListDiscoveredResourcesWithContext(aws.Context, *configservice.ListDiscoveredResourcesInput, ...request.Option) (*configservice.ListDiscoveredResourcesOutput, error)
|
||||
ListDiscoveredResourcesRequest(*configservice.ListDiscoveredResourcesInput) (*request.Request, *configservice.ListDiscoveredResourcesOutput)
|
||||
|
||||
PutAggregationAuthorization(*configservice.PutAggregationAuthorizationInput) (*configservice.PutAggregationAuthorizationOutput, error)
|
||||
PutAggregationAuthorizationWithContext(aws.Context, *configservice.PutAggregationAuthorizationInput, ...request.Option) (*configservice.PutAggregationAuthorizationOutput, error)
|
||||
PutAggregationAuthorizationRequest(*configservice.PutAggregationAuthorizationInput) (*request.Request, *configservice.PutAggregationAuthorizationOutput)
|
||||
|
||||
PutConfigRule(*configservice.PutConfigRuleInput) (*configservice.PutConfigRuleOutput, error)
|
||||
PutConfigRuleWithContext(aws.Context, *configservice.PutConfigRuleInput, ...request.Option) (*configservice.PutConfigRuleOutput, error)
|
||||
PutConfigRuleRequest(*configservice.PutConfigRuleInput) (*request.Request, *configservice.PutConfigRuleOutput)
|
||||
|
||||
PutConfigurationAggregator(*configservice.PutConfigurationAggregatorInput) (*configservice.PutConfigurationAggregatorOutput, error)
|
||||
PutConfigurationAggregatorWithContext(aws.Context, *configservice.PutConfigurationAggregatorInput, ...request.Option) (*configservice.PutConfigurationAggregatorOutput, error)
|
||||
PutConfigurationAggregatorRequest(*configservice.PutConfigurationAggregatorInput) (*request.Request, *configservice.PutConfigurationAggregatorOutput)
|
||||
|
||||
PutConfigurationRecorder(*configservice.PutConfigurationRecorderInput) (*configservice.PutConfigurationRecorderOutput, error)
|
||||
PutConfigurationRecorderWithContext(aws.Context, *configservice.PutConfigurationRecorderInput, ...request.Option) (*configservice.PutConfigurationRecorderOutput, error)
|
||||
PutConfigurationRecorderRequest(*configservice.PutConfigurationRecorderInput) (*request.Request, *configservice.PutConfigurationRecorderOutput)
|
||||
|
||||
PutDeliveryChannel(*configservice.PutDeliveryChannelInput) (*configservice.PutDeliveryChannelOutput, error)
|
||||
PutDeliveryChannelWithContext(aws.Context, *configservice.PutDeliveryChannelInput, ...request.Option) (*configservice.PutDeliveryChannelOutput, error)
|
||||
PutDeliveryChannelRequest(*configservice.PutDeliveryChannelInput) (*request.Request, *configservice.PutDeliveryChannelOutput)
|
||||
|
||||
PutEvaluations(*configservice.PutEvaluationsInput) (*configservice.PutEvaluationsOutput, error)
|
||||
PutEvaluationsWithContext(aws.Context, *configservice.PutEvaluationsInput, ...request.Option) (*configservice.PutEvaluationsOutput, error)
|
||||
PutEvaluationsRequest(*configservice.PutEvaluationsInput) (*request.Request, *configservice.PutEvaluationsOutput)
|
||||
|
||||
PutRetentionConfiguration(*configservice.PutRetentionConfigurationInput) (*configservice.PutRetentionConfigurationOutput, error)
|
||||
PutRetentionConfigurationWithContext(aws.Context, *configservice.PutRetentionConfigurationInput, ...request.Option) (*configservice.PutRetentionConfigurationOutput, error)
|
||||
PutRetentionConfigurationRequest(*configservice.PutRetentionConfigurationInput) (*request.Request, *configservice.PutRetentionConfigurationOutput)
|
||||
|
||||
StartConfigRulesEvaluation(*configservice.StartConfigRulesEvaluationInput) (*configservice.StartConfigRulesEvaluationOutput, error)
|
||||
StartConfigRulesEvaluationWithContext(aws.Context, *configservice.StartConfigRulesEvaluationInput, ...request.Option) (*configservice.StartConfigRulesEvaluationOutput, error)
|
||||
StartConfigRulesEvaluationRequest(*configservice.StartConfigRulesEvaluationInput) (*request.Request, *configservice.StartConfigRulesEvaluationOutput)
|
||||
|
||||
StartConfigurationRecorder(*configservice.StartConfigurationRecorderInput) (*configservice.StartConfigurationRecorderOutput, error)
|
||||
StartConfigurationRecorderWithContext(aws.Context, *configservice.StartConfigurationRecorderInput, ...request.Option) (*configservice.StartConfigurationRecorderOutput, error)
|
||||
StartConfigurationRecorderRequest(*configservice.StartConfigurationRecorderInput) (*request.Request, *configservice.StartConfigurationRecorderOutput)
|
||||
|
||||
StopConfigurationRecorder(*configservice.StopConfigurationRecorderInput) (*configservice.StopConfigurationRecorderOutput, error)
|
||||
StopConfigurationRecorderWithContext(aws.Context, *configservice.StopConfigurationRecorderInput, ...request.Option) (*configservice.StopConfigurationRecorderOutput, error)
|
||||
StopConfigurationRecorderRequest(*configservice.StopConfigurationRecorderInput) (*request.Request, *configservice.StopConfigurationRecorderOutput)
|
||||
}
|
||||
|
||||
var _ ConfigServiceAPI = (*configservice.ConfigService)(nil)
|
||||
47
vendor/github.com/aws/aws-sdk-go/service/configservice/doc.go
generated
vendored
Normal file
47
vendor/github.com/aws/aws-sdk-go/service/configservice/doc.go
generated
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package configservice provides the client and types for making API
|
||||
// requests to AWS Config.
|
||||
//
|
||||
// AWS Config provides a way to keep track of the configurations of all the
|
||||
// AWS resources associated with your AWS account. You can use AWS Config to
|
||||
// get the current and historical configurations of each AWS resource and also
|
||||
// to get information about the relationship between the resources. An AWS resource
|
||||
// can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store
|
||||
// (EBS) volume, an elastic network Interface (ENI), or a security group. For
|
||||
// a complete list of resources currently supported by AWS Config, see Supported
|
||||
// AWS Resources (http://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources).
|
||||
//
|
||||
// You can access and manage AWS Config through the AWS Management Console,
|
||||
// the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS
|
||||
// SDKs for AWS Config. This reference guide contains documentation for the
|
||||
// AWS Config API and the AWS CLI commands that you can use to manage AWS Config.
|
||||
// The AWS Config API uses the Signature Version 4 protocol for signing requests.
|
||||
// For more information about how to sign a request with this protocol, see
|
||||
// Signature Version 4 Signing Process (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).
|
||||
// For detailed information about AWS Config features and their associated actions
|
||||
// or commands, as well as how to work with AWS Management Console, see What
|
||||
// Is AWS Config (http://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html)
|
||||
// in the AWS Config Developer Guide.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12 for more information on this service.
|
||||
//
|
||||
// See configservice package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/configservice/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To contact AWS Config 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 Config client ConfigService for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/configservice/#New
|
||||
package configservice
|
||||
229
vendor/github.com/aws/aws-sdk-go/service/configservice/errors.go
generated
vendored
Normal file
229
vendor/github.com/aws/aws-sdk-go/service/configservice/errors.go
generated
vendored
Normal file
@@ -0,0 +1,229 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package configservice
|
||||
|
||||
const (
|
||||
|
||||
// ErrCodeInsufficientDeliveryPolicyException for service response error code
|
||||
// "InsufficientDeliveryPolicyException".
|
||||
//
|
||||
// Your Amazon S3 bucket policy does not permit AWS Config to write to it.
|
||||
ErrCodeInsufficientDeliveryPolicyException = "InsufficientDeliveryPolicyException"
|
||||
|
||||
// ErrCodeInsufficientPermissionsException for service response error code
|
||||
// "InsufficientPermissionsException".
|
||||
//
|
||||
// Indicates one of the following errors:
|
||||
//
|
||||
// * The rule cannot be created because the IAM role assigned to AWS Config
|
||||
// lacks permissions to perform the config:Put* action.
|
||||
//
|
||||
// * The AWS Lambda function cannot be invoked. Check the function ARN, and
|
||||
// check the function's permissions.
|
||||
ErrCodeInsufficientPermissionsException = "InsufficientPermissionsException"
|
||||
|
||||
// ErrCodeInvalidConfigurationRecorderNameException for service response error code
|
||||
// "InvalidConfigurationRecorderNameException".
|
||||
//
|
||||
// You have provided a configuration recorder name that is not valid.
|
||||
ErrCodeInvalidConfigurationRecorderNameException = "InvalidConfigurationRecorderNameException"
|
||||
|
||||
// ErrCodeInvalidDeliveryChannelNameException for service response error code
|
||||
// "InvalidDeliveryChannelNameException".
|
||||
//
|
||||
// The specified delivery channel name is not valid.
|
||||
ErrCodeInvalidDeliveryChannelNameException = "InvalidDeliveryChannelNameException"
|
||||
|
||||
// ErrCodeInvalidLimitException for service response error code
|
||||
// "InvalidLimitException".
|
||||
//
|
||||
// The specified limit is outside the allowable range.
|
||||
ErrCodeInvalidLimitException = "InvalidLimitException"
|
||||
|
||||
// ErrCodeInvalidNextTokenException for service response error code
|
||||
// "InvalidNextTokenException".
|
||||
//
|
||||
// The specified next token is invalid. Specify the nextToken string that was
|
||||
// returned in the previous response to get the next page of results.
|
||||
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
|
||||
|
||||
// ErrCodeInvalidParameterValueException for service response error code
|
||||
// "InvalidParameterValueException".
|
||||
//
|
||||
// One or more of the specified parameters are invalid. Verify that your parameters
|
||||
// are valid and try again.
|
||||
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
|
||||
|
||||
// ErrCodeInvalidRecordingGroupException for service response error code
|
||||
// "InvalidRecordingGroupException".
|
||||
//
|
||||
// AWS Config throws an exception if the recording group does not contain a
|
||||
// valid list of resource types. Invalid values might also be incorrectly formatted.
|
||||
ErrCodeInvalidRecordingGroupException = "InvalidRecordingGroupException"
|
||||
|
||||
// ErrCodeInvalidResultTokenException for service response error code
|
||||
// "InvalidResultTokenException".
|
||||
//
|
||||
// The specified ResultToken is invalid.
|
||||
ErrCodeInvalidResultTokenException = "InvalidResultTokenException"
|
||||
|
||||
// ErrCodeInvalidRoleException for service response error code
|
||||
// "InvalidRoleException".
|
||||
//
|
||||
// You have provided a null or empty role ARN.
|
||||
ErrCodeInvalidRoleException = "InvalidRoleException"
|
||||
|
||||
// ErrCodeInvalidS3KeyPrefixException for service response error code
|
||||
// "InvalidS3KeyPrefixException".
|
||||
//
|
||||
// The specified Amazon S3 key prefix is not valid.
|
||||
ErrCodeInvalidS3KeyPrefixException = "InvalidS3KeyPrefixException"
|
||||
|
||||
// ErrCodeInvalidSNSTopicARNException for service response error code
|
||||
// "InvalidSNSTopicARNException".
|
||||
//
|
||||
// The specified Amazon SNS topic does not exist.
|
||||
ErrCodeInvalidSNSTopicARNException = "InvalidSNSTopicARNException"
|
||||
|
||||
// ErrCodeInvalidTimeRangeException for service response error code
|
||||
// "InvalidTimeRangeException".
|
||||
//
|
||||
// The specified time range is not valid. The earlier time is not chronologically
|
||||
// before the later time.
|
||||
ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"
|
||||
|
||||
// ErrCodeLastDeliveryChannelDeleteFailedException for service response error code
|
||||
// "LastDeliveryChannelDeleteFailedException".
|
||||
//
|
||||
// You cannot delete the delivery channel you specified because the configuration
|
||||
// recorder is running.
|
||||
ErrCodeLastDeliveryChannelDeleteFailedException = "LastDeliveryChannelDeleteFailedException"
|
||||
|
||||
// ErrCodeLimitExceededException for service response error code
|
||||
// "LimitExceededException".
|
||||
//
|
||||
// This exception is thrown if an evaluation is in progress or if you call the
|
||||
// StartConfigRulesEvaluation API more than once per minute.
|
||||
ErrCodeLimitExceededException = "LimitExceededException"
|
||||
|
||||
// ErrCodeMaxNumberOfConfigRulesExceededException for service response error code
|
||||
// "MaxNumberOfConfigRulesExceededException".
|
||||
//
|
||||
// Failed to add the AWS Config rule because the account already contains the
|
||||
// maximum number of 50 rules. Consider deleting any deactivated rules before
|
||||
// you add new rules.
|
||||
ErrCodeMaxNumberOfConfigRulesExceededException = "MaxNumberOfConfigRulesExceededException"
|
||||
|
||||
// ErrCodeMaxNumberOfConfigurationRecordersExceededException for service response error code
|
||||
// "MaxNumberOfConfigurationRecordersExceededException".
|
||||
//
|
||||
// You have reached the limit of the number of recorders you can create.
|
||||
ErrCodeMaxNumberOfConfigurationRecordersExceededException = "MaxNumberOfConfigurationRecordersExceededException"
|
||||
|
||||
// ErrCodeMaxNumberOfDeliveryChannelsExceededException for service response error code
|
||||
// "MaxNumberOfDeliveryChannelsExceededException".
|
||||
//
|
||||
// You have reached the limit of the number of delivery channels you can create.
|
||||
ErrCodeMaxNumberOfDeliveryChannelsExceededException = "MaxNumberOfDeliveryChannelsExceededException"
|
||||
|
||||
// ErrCodeMaxNumberOfRetentionConfigurationsExceededException for service response error code
|
||||
// "MaxNumberOfRetentionConfigurationsExceededException".
|
||||
//
|
||||
// Failed to add the retention configuration because a retention configuration
|
||||
// with that name already exists.
|
||||
ErrCodeMaxNumberOfRetentionConfigurationsExceededException = "MaxNumberOfRetentionConfigurationsExceededException"
|
||||
|
||||
// ErrCodeNoAvailableConfigurationRecorderException for service response error code
|
||||
// "NoAvailableConfigurationRecorderException".
|
||||
//
|
||||
// There are no configuration recorders available to provide the role needed
|
||||
// to describe your resources. Create a configuration recorder.
|
||||
ErrCodeNoAvailableConfigurationRecorderException = "NoAvailableConfigurationRecorderException"
|
||||
|
||||
// ErrCodeNoAvailableDeliveryChannelException for service response error code
|
||||
// "NoAvailableDeliveryChannelException".
|
||||
//
|
||||
// There is no delivery channel available to record configurations.
|
||||
ErrCodeNoAvailableDeliveryChannelException = "NoAvailableDeliveryChannelException"
|
||||
|
||||
// ErrCodeNoAvailableOrganizationException for service response error code
|
||||
// "NoAvailableOrganizationException".
|
||||
//
|
||||
// Organization does is no longer available.
|
||||
ErrCodeNoAvailableOrganizationException = "NoAvailableOrganizationException"
|
||||
|
||||
// ErrCodeNoRunningConfigurationRecorderException for service response error code
|
||||
// "NoRunningConfigurationRecorderException".
|
||||
//
|
||||
// There is no configuration recorder running.
|
||||
ErrCodeNoRunningConfigurationRecorderException = "NoRunningConfigurationRecorderException"
|
||||
|
||||
// ErrCodeNoSuchBucketException for service response error code
|
||||
// "NoSuchBucketException".
|
||||
//
|
||||
// The specified Amazon S3 bucket does not exist.
|
||||
ErrCodeNoSuchBucketException = "NoSuchBucketException"
|
||||
|
||||
// ErrCodeNoSuchConfigRuleException for service response error code
|
||||
// "NoSuchConfigRuleException".
|
||||
//
|
||||
// One or more AWS Config rules in the request are invalid. Verify that the
|
||||
// rule names are correct and try again.
|
||||
ErrCodeNoSuchConfigRuleException = "NoSuchConfigRuleException"
|
||||
|
||||
// ErrCodeNoSuchConfigurationAggregatorException for service response error code
|
||||
// "NoSuchConfigurationAggregatorException".
|
||||
//
|
||||
// You have specified a configuration aggregator that does not exist.
|
||||
ErrCodeNoSuchConfigurationAggregatorException = "NoSuchConfigurationAggregatorException"
|
||||
|
||||
// ErrCodeNoSuchConfigurationRecorderException for service response error code
|
||||
// "NoSuchConfigurationRecorderException".
|
||||
//
|
||||
// You have specified a configuration recorder that does not exist.
|
||||
ErrCodeNoSuchConfigurationRecorderException = "NoSuchConfigurationRecorderException"
|
||||
|
||||
// ErrCodeNoSuchDeliveryChannelException for service response error code
|
||||
// "NoSuchDeliveryChannelException".
|
||||
//
|
||||
// You have specified a delivery channel that does not exist.
|
||||
ErrCodeNoSuchDeliveryChannelException = "NoSuchDeliveryChannelException"
|
||||
|
||||
// ErrCodeNoSuchRetentionConfigurationException for service response error code
|
||||
// "NoSuchRetentionConfigurationException".
|
||||
//
|
||||
// You have specified a retention configuration that does not exist.
|
||||
ErrCodeNoSuchRetentionConfigurationException = "NoSuchRetentionConfigurationException"
|
||||
|
||||
// ErrCodeOrganizationAccessDeniedException for service response error code
|
||||
// "OrganizationAccessDeniedException".
|
||||
//
|
||||
// No permission to call the EnableAWSServiceAccess API.
|
||||
ErrCodeOrganizationAccessDeniedException = "OrganizationAccessDeniedException"
|
||||
|
||||
// ErrCodeOrganizationAllFeaturesNotEnabledException for service response error code
|
||||
// "OrganizationAllFeaturesNotEnabledException".
|
||||
//
|
||||
// The configuration aggregator cannot be created because organization does
|
||||
// not have all features enabled.
|
||||
ErrCodeOrganizationAllFeaturesNotEnabledException = "OrganizationAllFeaturesNotEnabledException"
|
||||
|
||||
// ErrCodeResourceInUseException for service response error code
|
||||
// "ResourceInUseException".
|
||||
//
|
||||
// The rule is currently being deleted or the rule is deleting your evaluation
|
||||
// results. Try your request again later.
|
||||
ErrCodeResourceInUseException = "ResourceInUseException"
|
||||
|
||||
// ErrCodeResourceNotDiscoveredException for service response error code
|
||||
// "ResourceNotDiscoveredException".
|
||||
//
|
||||
// You have specified a resource that is either unknown or has not been discovered.
|
||||
ErrCodeResourceNotDiscoveredException = "ResourceNotDiscoveredException"
|
||||
|
||||
// ErrCodeValidationException for service response error code
|
||||
// "ValidationException".
|
||||
//
|
||||
// The requested action is not valid.
|
||||
ErrCodeValidationException = "ValidationException"
|
||||
)
|
||||
97
vendor/github.com/aws/aws-sdk-go/service/configservice/service.go
generated
vendored
Normal file
97
vendor/github.com/aws/aws-sdk-go/service/configservice/service.go
generated
vendored
Normal file
@@ -0,0 +1,97 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package configservice
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/client"
|
||||
"github.com/aws/aws-sdk-go/aws/client/metadata"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/aws/signer/v4"
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
// ConfigService provides the API operation methods for making requests to
|
||||
// AWS Config. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// ConfigService methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type ConfigService struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
// Used for custom client initialization logic
|
||||
var initClient func(*client.Client)
|
||||
|
||||
// Used for custom request initialization logic
|
||||
var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "config" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "Config Service" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the ConfigService client with a session.
|
||||
// If additional configuration is needed for the client instance use the optional
|
||||
// aws.Config parameter to add your extra config.
|
||||
//
|
||||
// Example:
|
||||
// // Create a ConfigService client from just a session.
|
||||
// svc := configservice.New(mySession)
|
||||
//
|
||||
// // Create a ConfigService client with additional configuration
|
||||
// svc := configservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
|
||||
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConfigService {
|
||||
c := p.ClientConfig(EndpointsID, cfgs...)
|
||||
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
|
||||
}
|
||||
|
||||
// newClient creates, initializes and returns a new service client instance.
|
||||
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *ConfigService {
|
||||
svc := &ConfigService{
|
||||
Client: client.New(
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
APIVersion: "2014-11-12",
|
||||
JSONVersion: "1.1",
|
||||
TargetPrefix: "StarlingDoveService",
|
||||
},
|
||||
handlers,
|
||||
),
|
||||
}
|
||||
|
||||
// Handlers
|
||||
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
|
||||
svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler)
|
||||
svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler)
|
||||
svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler)
|
||||
svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler)
|
||||
|
||||
// Run custom client initialization if present
|
||||
if initClient != nil {
|
||||
initClient(svc.Client)
|
||||
}
|
||||
|
||||
return svc
|
||||
}
|
||||
|
||||
// newRequest creates a new request for a ConfigService operation and runs any
|
||||
// custom request initialization.
|
||||
func (c *ConfigService) newRequest(op *request.Operation, params, data interface{}) *request.Request {
|
||||
req := c.NewRequest(op, params, data)
|
||||
|
||||
// Run custom request initialization if present
|
||||
if initRequest != nil {
|
||||
initRequest(req)
|
||||
}
|
||||
|
||||
return req
|
||||
}
|
||||
Reference in New Issue
Block a user