awsutil

package module
v0.0.0-...-76afdf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 186 Imported by: 0

README

Nacelle AWS Utilities

PkgGoDev Build status Latest release

AWS service utilities for use with nacelle.


Usage

This library contains 178 generated nacelle initializers for AWS services. Each initializer creates an instance of an AWS service NewDynamoDBServiceInitializer inside the nacelle service container with its own configuration (see below).

The following example creates clients for DynamoDB, Kinesis, and S3.

func setup(processes nacelle.ProcessContainer, services nacelle.ServiceContainer) error {
    processes.RegisterInitializer(awsutil.NewDynamoDBInitializer())
    processes.RegisterInitializer(awsutil.NewKinesisInitializer())
    processes.RegisterInitializer(awsutil.NewS3Initializer())

    // additional setup
    return nil
}
Configuration

The default service behaviors can be configured by the following options. These environment variables must be either prefixed with AWS or with the name of a service (e.g. AWS_REGION or S3_REGION). If any service-specific environment variable is set, then no non-prefix environment variables are read. This can be used for local development with a local AWS service mock such as localstack.

export KINESIS_ENDPOINT=http://localstack:4568
export DYNAMODB_ENDPOINT=http://localstack:4569
Environment Variable Default Description
CREDENTIALS_CHAIN_VERBOSE_ERRORS false Enables verbose error printing of all credential chain errors. Should be used when wanting to see all errors while attempting to retrieve credentials.
DISABLE_COMPUTE_CHECKSUMS false Disables the computation of request and response checksums, e.g., CRC32 checksums in Amazon DynamoDB.
DISABLE_ENDPOINT_HOST_PREFIX false DisableEndpointHostPrefix will disable the SDK's behavior of prefixing request endpoint hosts with modeled information.
DISABLE_PARAM_VALIDATION false Disables semantic parameter validation, which validates input for missing required fields and/or other semantic request input errors.
DISABLE_REST_PROTOCOL_URI_CLEANING false DisableRestProtocolURICleaning will not clean the URL path when making rest protocol requests. Will default to false. This would only be used for empty directory names in s3 requests.
DISABLE_SSL false Set this to true to disable SSL when sending requests.
EC2_METADATA_DISABLE_TIMEOUT_OVERRIDE false Set this to true to disable the EC2Metadata client from overriding the default http.Client's Timeout. This is helpful if you do not want the EC2Metadata client to create a new http.Client. This options is only meaningful if you're not already using a custom HTTP client with the SDK. Enabled by default.
ENABLE_ENDPOINT_DISCOVERY false EnableEndpointDiscovery will allow for endpoint discovery on operations that have the definition in its model. By default, endpoint discovery is off.
ENDPOINT "" An optional endpoint URL (hostname only or fully qualified URI) that overrides the default generated endpoint for a client.
ENFORCE_SHOULD_RETRY_CHECK false EnforceShouldRetryCheck is used in the AfterRetryHandler to always call ShouldRetry regardless of whether or not if request.Retryable is set. This will utilize ShouldRetry method of custom retryers. If EnforceShouldRetryCheck is not set, then ShouldRetry will only be called if request.Retryable is nil. Proper handling of the request.Retryable field is important when setting this field.
MAX_RETRIES -1 The maximum number of times that a request will be retried for failures. Defaults to -1, which defers the max retry setting to the service specific configuration.
LOG_LEVEL "off" The level at which to log requests. See the note below.
REGION The region to send requests to. This parameter must be configured globally or on a per-client basis unless otherwise noted.
S3_DISABLE_100_CONTINUE false Set this to true to disable the SDK adding the Expect: 100-Continue header to PUT requests over 2MB of content. 100-Continue instructs the HTTP client not to send the body until the service responds with a continue status. This is useful to prevent sending the request body until after the request is authenticated, and validated.
S3_DISABLE_CONTENT_MD5_VALIDATION false Set this to true to disable the S3 service client from automatically adding the ContentMD5 to S3 Object Put and Upload API calls. This option will also disable the SDK from performing object ContentMD5 validation on GetObject API calls.
S3_FORCE_PATH_STYLE false Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY. By default, the S3 client will use virtual hosted bucket addressing when possible (http://BUCKET.s3.amazonaws.com/KEY).
S3_USEACCELERATE false Set this to true to enable S3 Accelerate feature. For all operations compatible with S3 Accelerate will use the accelerate endpoint for requests. Requests not compatible will fall back to normal S3 requests.
USE_DUAL_STACK false Instructs the endpoint to be generated for a service client to be the dual stack endpoint. The dual stack endpoint will support both IPv4 and IPv6 addressing.

The available log levels are off, debug, debug_with_signing, debug_with_http_body, debug_with_request_retries, debug_with_request_errors, and debug_with_event_stream_body.

For additional documentation on these options, see the Go AWS SDK.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACMPCAServiceInitializer

func NewACMPCAServiceInitializer() nacelle.Initializer

func NewACMServiceInitializer

func NewACMServiceInitializer() nacelle.Initializer

func NewAPIGatewayServiceInitializer

func NewAPIGatewayServiceInitializer() nacelle.Initializer

func NewAWSLogAdapter

func NewAWSLogAdapter(logger nacelle.Logger) aws.Logger

func NewAlexaForBusinessServiceInitializer

func NewAlexaForBusinessServiceInitializer() nacelle.Initializer

func NewAmplifyServiceInitializer

func NewAmplifyServiceInitializer() nacelle.Initializer

func NewApiGatewayManagementApiServiceInitializer

func NewApiGatewayManagementApiServiceInitializer() nacelle.Initializer

func NewApiGatewayV2ServiceInitializer

func NewApiGatewayV2ServiceInitializer() nacelle.Initializer

func NewAppMeshServiceInitializer

func NewAppMeshServiceInitializer() nacelle.Initializer

func NewAppStreamServiceInitializer

func NewAppStreamServiceInitializer() nacelle.Initializer

func NewAppSyncServiceInitializer

func NewAppSyncServiceInitializer() nacelle.Initializer

func NewApplicationAutoScalingServiceInitializer

func NewApplicationAutoScalingServiceInitializer() nacelle.Initializer

func NewApplicationDiscoveryServiceServiceInitializer

func NewApplicationDiscoveryServiceServiceInitializer() nacelle.Initializer

func NewAthenaServiceInitializer

func NewAthenaServiceInitializer() nacelle.Initializer

func NewAutoScalingPlansServiceInitializer

func NewAutoScalingPlansServiceInitializer() nacelle.Initializer

func NewAutoScalingServiceInitializer

func NewAutoScalingServiceInitializer() nacelle.Initializer

func NewBackupServiceInitializer

func NewBackupServiceInitializer() nacelle.Initializer

func NewBatchServiceInitializer

func NewBatchServiceInitializer() nacelle.Initializer

func NewBudgetsServiceInitializer

func NewBudgetsServiceInitializer() nacelle.Initializer

func NewChimeServiceInitializer

func NewChimeServiceInitializer() nacelle.Initializer

func NewCloud9ServiceInitializer

func NewCloud9ServiceInitializer() nacelle.Initializer

func NewCloudDirectoryServiceInitializer

func NewCloudDirectoryServiceInitializer() nacelle.Initializer

func NewCloudFormationServiceInitializer

func NewCloudFormationServiceInitializer() nacelle.Initializer

func NewCloudFrontServiceInitializer

func NewCloudFrontServiceInitializer() nacelle.Initializer

func NewCloudHSMServiceInitializer

func NewCloudHSMServiceInitializer() nacelle.Initializer

func NewCloudHSMV2ServiceInitializer

func NewCloudHSMV2ServiceInitializer() nacelle.Initializer

func NewCloudSearchDomainServiceInitializer

func NewCloudSearchDomainServiceInitializer() nacelle.Initializer

func NewCloudSearchServiceInitializer

func NewCloudSearchServiceInitializer() nacelle.Initializer

func NewCloudTrailServiceInitializer

func NewCloudTrailServiceInitializer() nacelle.Initializer

func NewCloudWatchEventsServiceInitializer

func NewCloudWatchEventsServiceInitializer() nacelle.Initializer

func NewCloudWatchLogsServiceInitializer

func NewCloudWatchLogsServiceInitializer() nacelle.Initializer

func NewCloudWatchServiceInitializer

func NewCloudWatchServiceInitializer() nacelle.Initializer

func NewCodeBuildServiceInitializer

func NewCodeBuildServiceInitializer() nacelle.Initializer

func NewCodeCommitServiceInitializer

func NewCodeCommitServiceInitializer() nacelle.Initializer

func NewCodeDeployServiceInitializer

func NewCodeDeployServiceInitializer() nacelle.Initializer

func NewCodePipelineServiceInitializer

func NewCodePipelineServiceInitializer() nacelle.Initializer

func NewCodeStarServiceInitializer

func NewCodeStarServiceInitializer() nacelle.Initializer

func NewCognitoIdentityProviderServiceInitializer

func NewCognitoIdentityProviderServiceInitializer() nacelle.Initializer

func NewCognitoIdentityServiceInitializer

func NewCognitoIdentityServiceInitializer() nacelle.Initializer

func NewCognitoSyncServiceInitializer

func NewCognitoSyncServiceInitializer() nacelle.Initializer

func NewComprehendMedicalServiceInitializer

func NewComprehendMedicalServiceInitializer() nacelle.Initializer

func NewComprehendServiceInitializer

func NewComprehendServiceInitializer() nacelle.Initializer

func NewConfigServiceServiceInitializer

func NewConfigServiceServiceInitializer() nacelle.Initializer

func NewConnectServiceInitializer

func NewConnectServiceInitializer() nacelle.Initializer

func NewCostExplorerServiceInitializer

func NewCostExplorerServiceInitializer() nacelle.Initializer

func NewCostandUsageReportServiceServiceInitializer

func NewCostandUsageReportServiceServiceInitializer() nacelle.Initializer

func NewDAXServiceInitializer

func NewDAXServiceInitializer() nacelle.Initializer

func NewDLMServiceInitializer

func NewDLMServiceInitializer() nacelle.Initializer

func NewDataPipelineServiceInitializer

func NewDataPipelineServiceInitializer() nacelle.Initializer

func NewDataSyncServiceInitializer

func NewDataSyncServiceInitializer() nacelle.Initializer

func NewDatabaseMigrationServiceServiceInitializer

func NewDatabaseMigrationServiceServiceInitializer() nacelle.Initializer

func NewDeviceFarmServiceInitializer

func NewDeviceFarmServiceInitializer() nacelle.Initializer

func NewDirectConnectServiceInitializer

func NewDirectConnectServiceInitializer() nacelle.Initializer

func NewDirectoryServiceServiceInitializer

func NewDirectoryServiceServiceInitializer() nacelle.Initializer

func NewDocDBServiceInitializer

func NewDocDBServiceInitializer() nacelle.Initializer

func NewDynamoDBServiceInitializer

func NewDynamoDBServiceInitializer() nacelle.Initializer

func NewDynamoDBStreamsServiceInitializer

func NewDynamoDBStreamsServiceInitializer() nacelle.Initializer

func NewEC2ServiceInitializer

func NewEC2ServiceInitializer() nacelle.Initializer

func NewECRServiceInitializer

func NewECRServiceInitializer() nacelle.Initializer

func NewECSServiceInitializer

func NewECSServiceInitializer() nacelle.Initializer

func NewEFSServiceInitializer

func NewEFSServiceInitializer() nacelle.Initializer

func NewEKSServiceInitializer

func NewEKSServiceInitializer() nacelle.Initializer

func NewELBServiceInitializer

func NewELBServiceInitializer() nacelle.Initializer

func NewELBV2ServiceInitializer

func NewELBV2ServiceInitializer() nacelle.Initializer

func NewEMRServiceInitializer

func NewEMRServiceInitializer() nacelle.Initializer

func NewElastiCacheServiceInitializer

func NewElastiCacheServiceInitializer() nacelle.Initializer

func NewElasticBeanstalkServiceInitializer

func NewElasticBeanstalkServiceInitializer() nacelle.Initializer

func NewElasticTranscoderServiceInitializer

func NewElasticTranscoderServiceInitializer() nacelle.Initializer

func NewElasticsearchServiceServiceInitializer

func NewElasticsearchServiceServiceInitializer() nacelle.Initializer

func NewFMSServiceInitializer

func NewFMSServiceInitializer() nacelle.Initializer

func NewFSxServiceInitializer

func NewFSxServiceInitializer() nacelle.Initializer

func NewFirehoseServiceInitializer

func NewFirehoseServiceInitializer() nacelle.Initializer

func NewGameLiftServiceInitializer

func NewGameLiftServiceInitializer() nacelle.Initializer

func NewGlacierServiceInitializer

func NewGlacierServiceInitializer() nacelle.Initializer

func NewGlobalAcceleratorServiceInitializer

func NewGlobalAcceleratorServiceInitializer() nacelle.Initializer

func NewGlueServiceInitializer

func NewGlueServiceInitializer() nacelle.Initializer

func NewGreengrassServiceInitializer

func NewGreengrassServiceInitializer() nacelle.Initializer

func NewGroundStationServiceInitializer

func NewGroundStationServiceInitializer() nacelle.Initializer

func NewGuardDutyServiceInitializer

func NewGuardDutyServiceInitializer() nacelle.Initializer

func NewHealthServiceInitializer

func NewHealthServiceInitializer() nacelle.Initializer

func NewIAMServiceInitializer

func NewIAMServiceInitializer() nacelle.Initializer

func NewInspectorServiceInitializer

func NewInspectorServiceInitializer() nacelle.Initializer

func NewIoT1ClickDevicesServiceServiceInitializer

func NewIoT1ClickDevicesServiceServiceInitializer() nacelle.Initializer

func NewIoT1ClickProjectsServiceInitializer

func NewIoT1ClickProjectsServiceInitializer() nacelle.Initializer

func NewIoTAnalyticsServiceInitializer

func NewIoTAnalyticsServiceInitializer() nacelle.Initializer

func NewIoTDataPlaneServiceInitializer

func NewIoTDataPlaneServiceInitializer() nacelle.Initializer

func NewIoTEventsDataServiceInitializer

func NewIoTEventsDataServiceInitializer() nacelle.Initializer

func NewIoTEventsServiceInitializer

func NewIoTEventsServiceInitializer() nacelle.Initializer

func NewIoTJobsDataPlaneServiceInitializer

func NewIoTJobsDataPlaneServiceInitializer() nacelle.Initializer

func NewIoTServiceInitializer

func NewIoTServiceInitializer() nacelle.Initializer

func NewIoTThingsGraphServiceInitializer

func NewIoTThingsGraphServiceInitializer() nacelle.Initializer

func NewKMSServiceInitializer

func NewKMSServiceInitializer() nacelle.Initializer

func NewKafkaServiceInitializer

func NewKafkaServiceInitializer() nacelle.Initializer

func NewKinesisAnalyticsServiceInitializer

func NewKinesisAnalyticsServiceInitializer() nacelle.Initializer

func NewKinesisAnalyticsV2ServiceInitializer

func NewKinesisAnalyticsV2ServiceInitializer() nacelle.Initializer

func NewKinesisServiceInitializer

func NewKinesisServiceInitializer() nacelle.Initializer

func NewKinesisVideoArchivedMediaServiceInitializer

func NewKinesisVideoArchivedMediaServiceInitializer() nacelle.Initializer

func NewKinesisVideoMediaServiceInitializer

func NewKinesisVideoMediaServiceInitializer() nacelle.Initializer

func NewKinesisVideoServiceInitializer

func NewKinesisVideoServiceInitializer() nacelle.Initializer

func NewLambdaServiceInitializer

func NewLambdaServiceInitializer() nacelle.Initializer

func NewLexModelBuildingServiceServiceInitializer

func NewLexModelBuildingServiceServiceInitializer() nacelle.Initializer

func NewLexRuntimeServiceServiceInitializer

func NewLexRuntimeServiceServiceInitializer() nacelle.Initializer

func NewLicenseManagerServiceInitializer

func NewLicenseManagerServiceInitializer() nacelle.Initializer

func NewLightsailServiceInitializer

func NewLightsailServiceInitializer() nacelle.Initializer

func NewMQServiceInitializer

func NewMQServiceInitializer() nacelle.Initializer

func NewMTurkServiceInitializer

func NewMTurkServiceInitializer() nacelle.Initializer

func NewMachineLearningServiceInitializer

func NewMachineLearningServiceInitializer() nacelle.Initializer

func NewMacieServiceInitializer

func NewMacieServiceInitializer() nacelle.Initializer

func NewManagedBlockchainServiceInitializer

func NewManagedBlockchainServiceInitializer() nacelle.Initializer

func NewMarketplaceCommerceAnalyticsServiceInitializer

func NewMarketplaceCommerceAnalyticsServiceInitializer() nacelle.Initializer

func NewMarketplaceEntitlementServiceServiceInitializer

func NewMarketplaceEntitlementServiceServiceInitializer() nacelle.Initializer

func NewMarketplaceMeteringServiceInitializer

func NewMarketplaceMeteringServiceInitializer() nacelle.Initializer

func NewMediaConnectServiceInitializer

func NewMediaConnectServiceInitializer() nacelle.Initializer

func NewMediaConvertServiceInitializer

func NewMediaConvertServiceInitializer() nacelle.Initializer

func NewMediaLiveServiceInitializer

func NewMediaLiveServiceInitializer() nacelle.Initializer

func NewMediaPackageServiceInitializer

func NewMediaPackageServiceInitializer() nacelle.Initializer

func NewMediaPackageVodServiceInitializer

func NewMediaPackageVodServiceInitializer() nacelle.Initializer

func NewMediaStoreDataServiceInitializer

func NewMediaStoreDataServiceInitializer() nacelle.Initializer

func NewMediaStoreServiceInitializer

func NewMediaStoreServiceInitializer() nacelle.Initializer

func NewMediaTailorServiceInitializer

func NewMediaTailorServiceInitializer() nacelle.Initializer

func NewMigrationHubServiceInitializer

func NewMigrationHubServiceInitializer() nacelle.Initializer

func NewMobileAnalyticsServiceInitializer

func NewMobileAnalyticsServiceInitializer() nacelle.Initializer

func NewMobileServiceInitializer

func NewMobileServiceInitializer() nacelle.Initializer

func NewNeptuneServiceInitializer

func NewNeptuneServiceInitializer() nacelle.Initializer

func NewOpsWorksCMServiceInitializer

func NewOpsWorksCMServiceInitializer() nacelle.Initializer

func NewOpsWorksServiceInitializer

func NewOpsWorksServiceInitializer() nacelle.Initializer

func NewOrganizationsServiceInitializer

func NewOrganizationsServiceInitializer() nacelle.Initializer

func NewPIServiceInitializer

func NewPIServiceInitializer() nacelle.Initializer

func NewPersonalizeEventsServiceInitializer

func NewPersonalizeEventsServiceInitializer() nacelle.Initializer

func NewPersonalizeRuntimeServiceInitializer

func NewPersonalizeRuntimeServiceInitializer() nacelle.Initializer

func NewPersonalizeServiceInitializer

func NewPersonalizeServiceInitializer() nacelle.Initializer

func NewPinpointEmailServiceInitializer

func NewPinpointEmailServiceInitializer() nacelle.Initializer

func NewPinpointSMSVoiceServiceInitializer

func NewPinpointSMSVoiceServiceInitializer() nacelle.Initializer

func NewPinpointServiceInitializer

func NewPinpointServiceInitializer() nacelle.Initializer

func NewPollyServiceInitializer

func NewPollyServiceInitializer() nacelle.Initializer

func NewPricingServiceInitializer

func NewPricingServiceInitializer() nacelle.Initializer

func NewQuickSightServiceInitializer

func NewQuickSightServiceInitializer() nacelle.Initializer

func NewRAMServiceInitializer

func NewRAMServiceInitializer() nacelle.Initializer

func NewRDSDataServiceServiceInitializer

func NewRDSDataServiceServiceInitializer() nacelle.Initializer

func NewRDSServiceInitializer

func NewRDSServiceInitializer() nacelle.Initializer

func NewRedshiftServiceInitializer

func NewRedshiftServiceInitializer() nacelle.Initializer

func NewRekognitionServiceInitializer

func NewRekognitionServiceInitializer() nacelle.Initializer

func NewResourceGroupsServiceInitializer

func NewResourceGroupsServiceInitializer() nacelle.Initializer

func NewResourceGroupsTaggingAPIServiceInitializer

func NewResourceGroupsTaggingAPIServiceInitializer() nacelle.Initializer

func NewRoboMakerServiceInitializer

func NewRoboMakerServiceInitializer() nacelle.Initializer

func NewRoute53DomainsServiceInitializer

func NewRoute53DomainsServiceInitializer() nacelle.Initializer

func NewRoute53ResolverServiceInitializer

func NewRoute53ResolverServiceInitializer() nacelle.Initializer

func NewRoute53ServiceInitializer

func NewRoute53ServiceInitializer() nacelle.Initializer

func NewS3ControlServiceInitializer

func NewS3ControlServiceInitializer() nacelle.Initializer

func NewS3ServiceInitializer

func NewS3ServiceInitializer() nacelle.Initializer

func NewSESServiceInitializer

func NewSESServiceInitializer() nacelle.Initializer

func NewSFNServiceInitializer

func NewSFNServiceInitializer() nacelle.Initializer

func NewSMSServiceInitializer

func NewSMSServiceInitializer() nacelle.Initializer

func NewSNSServiceInitializer

func NewSNSServiceInitializer() nacelle.Initializer

func NewSQSServiceInitializer

func NewSQSServiceInitializer() nacelle.Initializer

func NewSSMServiceInitializer

func NewSSMServiceInitializer() nacelle.Initializer

func NewSTSServiceInitializer

func NewSTSServiceInitializer() nacelle.Initializer

func NewSWFServiceInitializer

func NewSWFServiceInitializer() nacelle.Initializer

func NewSageMakerRuntimeServiceInitializer

func NewSageMakerRuntimeServiceInitializer() nacelle.Initializer

func NewSageMakerServiceInitializer

func NewSageMakerServiceInitializer() nacelle.Initializer

func NewSecretsManagerServiceInitializer

func NewSecretsManagerServiceInitializer() nacelle.Initializer

func NewSecurityHubServiceInitializer

func NewSecurityHubServiceInitializer() nacelle.Initializer

func NewServerlessApplicationRepositoryServiceInitializer

func NewServerlessApplicationRepositoryServiceInitializer() nacelle.Initializer

func NewServiceCatalogServiceInitializer

func NewServiceCatalogServiceInitializer() nacelle.Initializer

func NewServiceDiscoveryServiceInitializer

func NewServiceDiscoveryServiceInitializer() nacelle.Initializer

func NewShieldServiceInitializer

func NewShieldServiceInitializer() nacelle.Initializer

func NewSignerServiceInitializer

func NewSignerServiceInitializer() nacelle.Initializer

func NewSimpleDBServiceInitializer

func NewSimpleDBServiceInitializer() nacelle.Initializer

func NewSnowballServiceInitializer

func NewSnowballServiceInitializer() nacelle.Initializer

func NewStorageGatewayServiceInitializer

func NewStorageGatewayServiceInitializer() nacelle.Initializer

func NewSupportServiceInitializer

func NewSupportServiceInitializer() nacelle.Initializer

func NewTextractServiceInitializer

func NewTextractServiceInitializer() nacelle.Initializer

func NewTranscribeServiceServiceInitializer

func NewTranscribeServiceServiceInitializer() nacelle.Initializer

func NewTransferServiceInitializer

func NewTransferServiceInitializer() nacelle.Initializer

func NewTranslateServiceInitializer

func NewTranslateServiceInitializer() nacelle.Initializer

func NewWAFRegionalServiceInitializer

func NewWAFRegionalServiceInitializer() nacelle.Initializer

func NewWAFServiceInitializer

func NewWAFServiceInitializer() nacelle.Initializer

func NewWorkDocsServiceInitializer

func NewWorkDocsServiceInitializer() nacelle.Initializer

func NewWorkLinkServiceInitializer

func NewWorkLinkServiceInitializer() nacelle.Initializer

func NewWorkMailServiceInitializer

func NewWorkMailServiceInitializer() nacelle.Initializer

func NewWorkSpacesServiceInitializer

func NewWorkSpacesServiceInitializer() nacelle.Initializer

func NewXRayServiceInitializer

func NewXRayServiceInitializer() nacelle.Initializer

Types

type AWSLogAdapter

type AWSLogAdapter struct {
	// contains filtered or unexported fields
}

func (*AWSLogAdapter) Log

func (a *AWSLogAdapter) Log(args ...interface{})

type Config

type Config struct {
	CredentialsChainVerboseErrors     bool   `env:"credentials_chain_verbose_errors"`
	DisableComputeChecksums           bool   `env:"disable_compute_checksums"`
	DisableEndpointHostPrefix         bool   `env:"disable_endpoint_host_prefix"`
	DisableParamValidation            bool   `env:"disable_param_validation"`
	DisableRestProtocolURICleaning    bool   `env:"disable_rest_protocol_uri_cleaning"`
	DisableSSL                        bool   `env:"disable_ssl"`
	EC2MetadataDisableTimeoutOverride bool   `env:"ec2_metadata_disable_timeout_override"`
	EnableEndpointDiscovery           bool   `env:"enable_endpoint_discovery"`
	Endpoint                          string `env:"endpoint"`
	EnforceShouldRetryCheck           bool   `env:"enforce_should_retry_check"`
	MaxRetries                        int    `env:"max_retries" default:"-1"`
	RawLogLevel                       string `env:"log_level" default:"off"`
	Region                            string `env:"region"`
	S3Disable100Continue              bool   `env:"s3_disable_100_continue"`
	S3DisableContentMD5Validation     bool   `env:"s3_disable_content_md5_validation"`
	S3ForcePathStyle                  bool   `env:"s3_force_path_style"`
	S3UseAccelerate                   bool   `env:"s3_useaccelerate"`
	UseDualStack                      bool   `env:"use_dual_stack"`
	LogLevel                          aws.LogLevelType
}

func (*Config) IsDefault

func (c *Config) IsDefault() bool

func (*Config) PostLoad

func (c *Config) PostLoad() error

func (*Config) ToAWSConfig

func (c *Config) ToAWSConfig(logger nacelle.Logger) *aws.Config

type Factory

type Factory func(sess *session.Session) interface{}

type ServiceInitializer

type ServiceInitializer struct {
	Logger   nacelle.Logger           `service:"logger"`
	Services nacelle.ServiceContainer `service:"services"`
	// contains filtered or unexported fields
}

func NewServiceInitializer

func NewServiceInitializer(name string, factory Factory, configs ...*aws.Config) *ServiceInitializer

func (*ServiceInitializer) Init

func (i *ServiceInitializer) Init(config nacelle.Config) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL