mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+3460
-290
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+54
-2
@@ -26,7 +26,7 @@ import (
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Config.
|
||||
// func myFunc(svc configserviceiface.ConfigServiceAPI) bool {
|
||||
// // Make svc.DeleteConfigRule request
|
||||
// // Make svc.BatchGetResourceConfig request
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
@@ -42,7 +42,7 @@ import (
|
||||
// type mockConfigServiceClient struct {
|
||||
// configserviceiface.ConfigServiceAPI
|
||||
// }
|
||||
// func (m *mockConfigServiceClient) DeleteConfigRule(input *configservice.DeleteConfigRuleInput) (*configservice.DeleteConfigRuleOutput, error) {
|
||||
// func (m *mockConfigServiceClient) BatchGetResourceConfig(input *configservice.BatchGetResourceConfigInput) (*configservice.BatchGetResourceConfigOutput, error) {
|
||||
// // mock response/functionality
|
||||
// }
|
||||
//
|
||||
@@ -60,10 +60,22 @@ import (
|
||||
// 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)
|
||||
@@ -76,10 +88,22 @@ type ConfigServiceAPI interface {
|
||||
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)
|
||||
|
||||
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)
|
||||
@@ -96,6 +120,14 @@ type ConfigServiceAPI interface {
|
||||
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)
|
||||
@@ -112,6 +144,18 @@ type ConfigServiceAPI interface {
|
||||
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)
|
||||
|
||||
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)
|
||||
@@ -143,10 +187,18 @@ type ConfigServiceAPI interface {
|
||||
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)
|
||||
|
||||
+5
-9
@@ -8,24 +8,20 @@
|
||||
// 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
|
||||
// (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.
|
||||
//
|
||||
// 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)
|
||||
// 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.
|
||||
@@ -35,7 +31,7 @@
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To AWS Config with the SDK use the New function to create
|
||||
// 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.
|
||||
//
|
||||
|
||||
+30
-5
@@ -43,7 +43,7 @@ const (
|
||||
// ErrCodeInvalidNextTokenException for service response error code
|
||||
// "InvalidNextTokenException".
|
||||
//
|
||||
// The specified next token is invalid. Specify the NextToken string that was
|
||||
// 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"
|
||||
|
||||
@@ -58,7 +58,7 @@ const (
|
||||
// "InvalidRecordingGroupException".
|
||||
//
|
||||
// AWS Config throws an exception if the recording group does not contain a
|
||||
// valid list of resource types. Invalid values could also be incorrectly formatted.
|
||||
// valid list of resource types. Invalid values might also be incorrectly formatted.
|
||||
ErrCodeInvalidRecordingGroupException = "InvalidRecordingGroupException"
|
||||
|
||||
// ErrCodeInvalidResultTokenException for service response error code
|
||||
@@ -111,19 +111,19 @@ const (
|
||||
//
|
||||
// Failed to add the AWS Config rule because the account already contains the
|
||||
// maximum number of 50 rules. Consider deleting any deactivated rules before
|
||||
// adding new rules.
|
||||
// you add new rules.
|
||||
ErrCodeMaxNumberOfConfigRulesExceededException = "MaxNumberOfConfigRulesExceededException"
|
||||
|
||||
// ErrCodeMaxNumberOfConfigurationRecordersExceededException for service response error code
|
||||
// "MaxNumberOfConfigurationRecordersExceededException".
|
||||
//
|
||||
// You have reached the limit on the number of recorders you can create.
|
||||
// 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 on the number of delivery channels you can create.
|
||||
// You have reached the limit of the number of delivery channels you can create.
|
||||
ErrCodeMaxNumberOfDeliveryChannelsExceededException = "MaxNumberOfDeliveryChannelsExceededException"
|
||||
|
||||
// ErrCodeNoAvailableConfigurationRecorderException for service response error code
|
||||
@@ -139,6 +139,12 @@ const (
|
||||
// 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".
|
||||
//
|
||||
@@ -158,6 +164,12 @@ const (
|
||||
// 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".
|
||||
//
|
||||
@@ -170,6 +182,19 @@ const (
|
||||
// You have specified a delivery channel that does not exist.
|
||||
ErrCodeNoSuchDeliveryChannelException = "NoSuchDeliveryChannelException"
|
||||
|
||||
// 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".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user