Documentation ¶
Overview ¶
Package qldb provides the API client, operations, and parameter types for Amazon QLDB.
The control plane for Amazon QLDB
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type CancelJournalKinesisStreamInput
- type CancelJournalKinesisStreamOutput
- type Client
- func (c *Client) CancelJournalKinesisStream(ctx context.Context, params *CancelJournalKinesisStreamInput, ...) (*CancelJournalKinesisStreamOutput, error)
- func (c *Client) CreateLedger(ctx context.Context, params *CreateLedgerInput, optFns ...func(*Options)) (*CreateLedgerOutput, error)
- func (c *Client) DeleteLedger(ctx context.Context, params *DeleteLedgerInput, optFns ...func(*Options)) (*DeleteLedgerOutput, error)
- func (c *Client) DescribeJournalKinesisStream(ctx context.Context, params *DescribeJournalKinesisStreamInput, ...) (*DescribeJournalKinesisStreamOutput, error)
- func (c *Client) DescribeJournalS3Export(ctx context.Context, params *DescribeJournalS3ExportInput, ...) (*DescribeJournalS3ExportOutput, error)
- func (c *Client) DescribeLedger(ctx context.Context, params *DescribeLedgerInput, optFns ...func(*Options)) (*DescribeLedgerOutput, error)
- func (c *Client) ExportJournalToS3(ctx context.Context, params *ExportJournalToS3Input, optFns ...func(*Options)) (*ExportJournalToS3Output, error)
- func (c *Client) GetBlock(ctx context.Context, params *GetBlockInput, optFns ...func(*Options)) (*GetBlockOutput, error)
- func (c *Client) GetDigest(ctx context.Context, params *GetDigestInput, optFns ...func(*Options)) (*GetDigestOutput, error)
- func (c *Client) GetRevision(ctx context.Context, params *GetRevisionInput, optFns ...func(*Options)) (*GetRevisionOutput, error)
- func (c *Client) ListJournalKinesisStreamsForLedger(ctx context.Context, params *ListJournalKinesisStreamsForLedgerInput, ...) (*ListJournalKinesisStreamsForLedgerOutput, error)
- func (c *Client) ListJournalS3Exports(ctx context.Context, params *ListJournalS3ExportsInput, ...) (*ListJournalS3ExportsOutput, error)
- func (c *Client) ListJournalS3ExportsForLedger(ctx context.Context, params *ListJournalS3ExportsForLedgerInput, ...) (*ListJournalS3ExportsForLedgerOutput, error)
- func (c *Client) ListLedgers(ctx context.Context, params *ListLedgersInput, optFns ...func(*Options)) (*ListLedgersOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) StreamJournalToKinesis(ctx context.Context, params *StreamJournalToKinesisInput, ...) (*StreamJournalToKinesisOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateLedger(ctx context.Context, params *UpdateLedgerInput, optFns ...func(*Options)) (*UpdateLedgerOutput, error)
- func (c *Client) UpdateLedgerPermissionsMode(ctx context.Context, params *UpdateLedgerPermissionsModeInput, ...) (*UpdateLedgerPermissionsModeOutput, error)
- type CreateLedgerInput
- type CreateLedgerOutput
- type DeleteLedgerInput
- type DeleteLedgerOutput
- type DescribeJournalKinesisStreamInput
- type DescribeJournalKinesisStreamOutput
- type DescribeJournalS3ExportInput
- type DescribeJournalS3ExportOutput
- type DescribeLedgerInput
- type DescribeLedgerOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type ExportJournalToS3Input
- type ExportJournalToS3Output
- type GetBlockInput
- type GetBlockOutput
- type GetDigestInput
- type GetDigestOutput
- type GetRevisionInput
- type GetRevisionOutput
- type HTTPClient
- type HTTPSignerV4
- type ListJournalKinesisStreamsForLedgerAPIClient
- type ListJournalKinesisStreamsForLedgerInput
- type ListJournalKinesisStreamsForLedgerOutput
- type ListJournalKinesisStreamsForLedgerPaginator
- type ListJournalKinesisStreamsForLedgerPaginatorOptions
- type ListJournalS3ExportsAPIClient
- type ListJournalS3ExportsForLedgerAPIClient
- type ListJournalS3ExportsForLedgerInput
- type ListJournalS3ExportsForLedgerOutput
- type ListJournalS3ExportsForLedgerPaginator
- type ListJournalS3ExportsForLedgerPaginatorOptions
- type ListJournalS3ExportsInput
- type ListJournalS3ExportsOutput
- type ListJournalS3ExportsPaginator
- type ListJournalS3ExportsPaginatorOptions
- type ListLedgersAPIClient
- type ListLedgersInput
- type ListLedgersOutput
- type ListLedgersPaginator
- type ListLedgersPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type StreamJournalToKinesisInput
- type StreamJournalToKinesisOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateLedgerInput
- type UpdateLedgerOutput
- type UpdateLedgerPermissionsModeInput
- type UpdateLedgerPermissionsModeOutput
Constants ¶
const ServiceAPIVersion = "2019-01-02"
const ServiceID = "QLDB"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type CancelJournalKinesisStreamInput ¶
type CancelJournalKinesisStreamInput struct { // The name of the ledger. // // This member is required. LedgerName *string // The UUID (represented in Base62-encoded text) of the QLDB journal stream to be // canceled. // // This member is required. StreamId *string // contains filtered or unexported fields }
type CancelJournalKinesisStreamOutput ¶
type CancelJournalKinesisStreamOutput struct { // The UUID (Base62-encoded text) of the canceled QLDB journal stream. StreamId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon QLDB.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CancelJournalKinesisStream ¶
func (c *Client) CancelJournalKinesisStream(ctx context.Context, params *CancelJournalKinesisStreamInput, optFns ...func(*Options)) (*CancelJournalKinesisStreamOutput, error)
Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be ACTIVE. You can't restart a stream after you cancel it. Canceled QLDB stream resources are subject to a 7-day retention period, so they are automatically deleted after this limit expires.
func (*Client) CreateLedger ¶
func (c *Client) CreateLedger(ctx context.Context, params *CreateLedgerInput, optFns ...func(*Options)) (*CreateLedgerOutput, error)
Creates a new ledger in your account in the current Region.
func (*Client) DeleteLedger ¶
func (c *Client) DeleteLedger(ctx context.Context, params *DeleteLedgerInput, optFns ...func(*Options)) (*DeleteLedgerOutput, error)
Deletes a ledger and all of its contents. This action is irreversible. If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set the flag to false.
func (*Client) DescribeJournalKinesisStream ¶
func (c *Client) DescribeJournalKinesisStream(ctx context.Context, params *DescribeJournalKinesisStreamInput, optFns ...func(*Options)) (*DescribeJournalKinesisStreamOutput, error)
Returns detailed information about a given Amazon QLDB journal stream. The output includes the Amazon Resource Name (ARN), stream name, current status, creation time, and the parameters of the original stream creation request. This action does not return any expired journal streams. For more information, see Expiration for terminal streams (https://docs.aws.amazon.com/qldb/latest/developerguide/streams.create.html#streams.create.states.expiration) in the Amazon QLDB Developer Guide.
func (*Client) DescribeJournalS3Export ¶
func (c *Client) DescribeJournalS3Export(ctx context.Context, params *DescribeJournalS3ExportInput, optFns ...func(*Options)) (*DescribeJournalS3ExportOutput, error)
Returns information about a journal export job, including the ledger name, export ID, creation time, current status, and the parameters of the original export creation request. This action does not return any expired export jobs. For more information, see Export job expiration (https://docs.aws.amazon.com/qldb/latest/developerguide/export-journal.request.html#export-journal.request.expiration) in the Amazon QLDB Developer Guide. If the export job with the given ExportId doesn't exist, then throws ResourceNotFoundException. If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.
func (*Client) DescribeLedger ¶
func (c *Client) DescribeLedger(ctx context.Context, params *DescribeLedgerInput, optFns ...func(*Options)) (*DescribeLedgerOutput, error)
Returns information about a ledger, including its state, permissions mode, encryption at rest settings, and when it was created.
func (*Client) ExportJournalToS3 ¶
func (c *Client) ExportJournalToS3(ctx context.Context, params *ExportJournalToS3Input, optFns ...func(*Options)) (*ExportJournalToS3Output, error)
Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. The data is written as files in Amazon Ion format. If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException. If the ledger with the given Name is in CREATING status, then throws ResourcePreconditionNotMetException. You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export requests throw LimitExceededException.
func (*Client) GetBlock ¶
func (c *Client) GetBlock(ctx context.Context, params *GetBlockInput, optFns ...func(*Options)) (*GetBlockOutput, error)
Returns a block object at a specified address in a journal. Also returns a proof of the specified block for verification if DigestTipAddress is provided. For information about the data contents in a block, see Journal contents (https://docs.aws.amazon.com/qldb/latest/developerguide/journal-contents.html) in the Amazon QLDB Developer Guide. If the specified ledger doesn't exist or is in DELETING status, then throws ResourceNotFoundException. If the specified ledger is in CREATING status, then throws ResourcePreconditionNotMetException. If no block exists with the specified address, then throws InvalidParameterException.
func (*Client) GetDigest ¶
func (c *Client) GetDigest(ctx context.Context, params *GetDigestInput, optFns ...func(*Options)) (*GetDigestOutput, error)
Returns the digest of a ledger at the latest committed block in the journal. The response includes a 256-bit hash value and a block address.
func (*Client) GetRevision ¶
func (c *Client) GetRevision(ctx context.Context, params *GetRevisionInput, optFns ...func(*Options)) (*GetRevisionOutput, error)
Returns a revision data object for a specified document ID and block address. Also returns a proof of the specified revision for verification if DigestTipAddress is provided.
func (*Client) ListJournalKinesisStreamsForLedger ¶
func (c *Client) ListJournalKinesisStreamsForLedger(ctx context.Context, params *ListJournalKinesisStreamsForLedgerInput, optFns ...func(*Options)) (*ListJournalKinesisStreamsForLedgerOutput, error)
Returns an array of all Amazon QLDB journal stream descriptors for a given ledger. The output of each stream descriptor includes the same details that are returned by DescribeJournalKinesisStream. This action does not return any expired journal streams. For more information, see Expiration for terminal streams (https://docs.aws.amazon.com/qldb/latest/developerguide/streams.create.html#streams.create.states.expiration) in the Amazon QLDB Developer Guide. This action returns a maximum of MaxResults items. It is paginated so that you can retrieve all the items by calling ListJournalKinesisStreamsForLedger multiple times.
func (*Client) ListJournalS3Exports ¶
func (c *Client) ListJournalS3Exports(ctx context.Context, params *ListJournalS3ExportsInput, optFns ...func(*Options)) (*ListJournalS3ExportsOutput, error)
Returns an array of journal export job descriptions for all ledgers that are associated with the current account and Region. This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports multiple times. This action does not return any expired export jobs. For more information, see Export job expiration (https://docs.aws.amazon.com/qldb/latest/developerguide/export-journal.request.html#export-journal.request.expiration) in the Amazon QLDB Developer Guide.
func (*Client) ListJournalS3ExportsForLedger ¶
func (c *Client) ListJournalS3ExportsForLedger(ctx context.Context, params *ListJournalS3ExportsForLedgerInput, optFns ...func(*Options)) (*ListJournalS3ExportsForLedgerOutput, error)
Returns an array of journal export job descriptions for a specified ledger. This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger multiple times. This action does not return any expired export jobs. For more information, see Export job expiration (https://docs.aws.amazon.com/qldb/latest/developerguide/export-journal.request.html#export-journal.request.expiration) in the Amazon QLDB Developer Guide.
func (*Client) ListLedgers ¶
func (c *Client) ListLedgers(ctx context.Context, params *ListLedgersInput, optFns ...func(*Options)) (*ListLedgersOutput, error)
Returns an array of ledger summaries that are associated with the current account and Region. This action returns a maximum of 100 items and is paginated so that you can retrieve all the items by calling ListLedgers multiple times.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Returns all tags for a specified Amazon QLDB resource.
func (*Client) StreamJournalToKinesis ¶
func (c *Client) StreamJournalToKinesis(ctx context.Context, params *StreamJournalToKinesisInput, optFns ...func(*Options)) (*StreamJournalToKinesisOutput, error)
Creates a journal stream for a given Amazon QLDB ledger. The stream captures every document revision that is committed to the ledger's journal and delivers the data to a specified Amazon Kinesis Data Streams resource.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds one or more tags to a specified Amazon QLDB resource. A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.
func (*Client) UpdateLedger ¶
func (c *Client) UpdateLedger(ctx context.Context, params *UpdateLedgerInput, optFns ...func(*Options)) (*UpdateLedgerOutput, error)
Updates properties on a ledger.
func (*Client) UpdateLedgerPermissionsMode ¶ added in v1.3.0
func (c *Client) UpdateLedgerPermissionsMode(ctx context.Context, params *UpdateLedgerPermissionsModeInput, optFns ...func(*Options)) (*UpdateLedgerPermissionsModeOutput, error)
Updates the permissions mode of a ledger. Before you switch to the STANDARD permissions mode, you must first create all required IAM policies and table tags to avoid disruption to your users. To learn more, see Migrating to the standard permissions mode (https://docs.aws.amazon.com/qldb/latest/developerguide/ledger-management.basics.html#ledger-mgmt.basics.update-permissions.migrating) in the Amazon QLDB Developer Guide.
type CreateLedgerInput ¶
type CreateLedgerInput struct { // The name of the ledger that you want to create. The name must be unique among // all of the ledgers in your account in the current Region. Naming constraints for // ledger names are defined in Quotas in Amazon QLDB // (https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming) // in the Amazon QLDB Developer Guide. // // This member is required. Name *string // The permissions mode to assign to the ledger that you want to create. This // parameter can have one of the following values: // // * ALLOW_ALL: A legacy // permissions mode that enables access control with API-level granularity for // ledgers. This mode allows users who have the SendCommand API permission for this // ledger to run all PartiQL commands (hence, ALLOW_ALL) on any tables in the // specified ledger. This mode disregards any table-level or command-level IAM // permissions policies that you create for the ledger. // // * STANDARD: (Recommended) // A permissions mode that enables access control with finer granularity for // ledgers, tables, and PartiQL commands. By default, this mode denies all user // requests to run any PartiQL commands on any tables in this ledger. To allow // PartiQL commands to run, you must create IAM permissions policies for specific // table resources and PartiQL actions, in addition to the SendCommand API // permission for the ledger. For information, see Getting started with the // standard permissions mode // (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-standard-mode.html) // in the Amazon QLDB Developer Guide. // // We strongly recommend using the STANDARD // permissions mode to maximize the security of your ledger data. // // This member is required. PermissionsMode types.PermissionsMode // The flag that prevents a ledger from being deleted by any user. If not provided // on ledger creation, this feature is enabled (true) by default. If deletion // protection is enabled, you must first disable it before you can delete the // ledger. You can disable it by calling the UpdateLedger operation to set the flag // to false. DeletionProtection *bool // The key in Key Management Service (KMS) to use for encryption of data at rest in // the ledger. For more information, see Encryption at rest // (https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html) // in the Amazon QLDB Developer Guide. Use one of the following options to specify // this parameter: // // * AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed // by Amazon Web Services on your behalf. // // * Undefined: By default, use an Amazon // Web Services owned KMS key. // // * A valid symmetric customer managed KMS key: Use // the specified KMS key in your account that you create, own, and manage. Amazon // QLDB does not support asymmetric keys. For more information, see Using symmetric // and asymmetric keys // (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) // in the Key Management Service Developer Guide. // // To specify a customer managed // KMS key, you can use its key ID, Amazon Resource Name (ARN), alias name, or // alias ARN. When using an alias name, prefix it with "alias/". To specify a key // in a different account, you must use the key ARN or alias ARN. For example: // // * // Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // * Key ARN: // arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab // // * // Alias name: alias/ExampleAlias // // * Alias ARN: // arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias // // For more information, see // Key identifiers (KeyId) // (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) in // the Key Management Service Developer Guide. KmsKey *string // The key-value pairs to add as tags to the ledger that you want to create. Tag // keys are case sensitive. Tag values are case sensitive and can be null. Tags map[string]*string // contains filtered or unexported fields }
type CreateLedgerOutput ¶
type CreateLedgerOutput struct { // The Amazon Resource Name (ARN) for the ledger. Arn *string // The date and time, in epoch time format, when the ledger was created. (Epoch // time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 // UTC.) CreationDateTime *time.Time // The flag that prevents a ledger from being deleted by any user. If not provided // on ledger creation, this feature is enabled (true) by default. If deletion // protection is enabled, you must first disable it before you can delete the // ledger. You can disable it by calling the UpdateLedger operation to set the flag // to false. DeletionProtection *bool // The ARN of the customer managed KMS key that the ledger uses for encryption at // rest. If this parameter is undefined, the ledger uses an Amazon Web Services // owned KMS key for encryption. KmsKeyArn *string // The name of the ledger. Name *string // The permissions mode of the ledger that you created. PermissionsMode types.PermissionsMode // The current status of the ledger. State types.LedgerState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteLedgerInput ¶
type DeleteLedgerInput struct { // The name of the ledger that you want to delete. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteLedgerOutput ¶
type DeleteLedgerOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJournalKinesisStreamInput ¶
type DescribeJournalKinesisStreamInput struct { // The name of the ledger. // // This member is required. LedgerName *string // The UUID (represented in Base62-encoded text) of the QLDB journal stream to // describe. // // This member is required. StreamId *string // contains filtered or unexported fields }
type DescribeJournalKinesisStreamOutput ¶
type DescribeJournalKinesisStreamOutput struct { // Information about the QLDB journal stream returned by a DescribeJournalS3Export // request. Stream *types.JournalKinesisStreamDescription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeJournalS3ExportOutput ¶
type DescribeJournalS3ExportOutput struct { // Information about the journal export job returned by a DescribeJournalS3Export // request. // // This member is required. ExportDescription *types.JournalS3ExportDescription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeLedgerInput ¶
type DescribeLedgerInput struct { // The name of the ledger that you want to describe. // // This member is required. Name *string // contains filtered or unexported fields }
type DescribeLedgerOutput ¶
type DescribeLedgerOutput struct { // The Amazon Resource Name (ARN) for the ledger. Arn *string // The date and time, in epoch time format, when the ledger was created. (Epoch // time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 // UTC.) CreationDateTime *time.Time // The flag that prevents a ledger from being deleted by any user. If not provided // on ledger creation, this feature is enabled (true) by default. If deletion // protection is enabled, you must first disable it before you can delete the // ledger. You can disable it by calling the UpdateLedger operation to set the flag // to false. DeletionProtection *bool // Information about the encryption of data at rest in the ledger. This includes // the current status, the KMS key, and when the key became inaccessible (in the // case of an error). EncryptionDescription *types.LedgerEncryptionDescription // The name of the ledger. Name *string // The permissions mode of the ledger. PermissionsMode types.PermissionsMode // The current status of the ledger. State types.LedgerState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type ExportJournalToS3Input ¶
type ExportJournalToS3Input struct { // The exclusive end date and time for the range of journal contents to export. The // ExclusiveEndTime must be in ISO 8601 date and time format and in Universal // Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z. The ExclusiveEndTime // must be less than or equal to the current UTC date and time. // // This member is required. ExclusiveEndTime *time.Time // The inclusive start date and time for the range of journal contents to export. // The InclusiveStartTime must be in ISO 8601 date and time format and in Universal // Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z. The // InclusiveStartTime must be before ExclusiveEndTime. If you provide an // InclusiveStartTime that is before the ledger's CreationDateTime, Amazon QLDB // defaults it to the ledger's CreationDateTime. // // This member is required. InclusiveStartTime *time.Time // The name of the ledger. // // This member is required. Name *string // The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for // a journal export job to do the following: // // * Write objects into your Amazon // Simple Storage Service (Amazon S3) bucket. // // * (Optional) Use your customer // master key (CMK) in Key Management Service (KMS) for server-side encryption of // your exported data. // // This member is required. RoleArn *string // The configuration settings of the Amazon S3 bucket destination for your export // request. // // This member is required. S3ExportConfiguration *types.S3ExportConfiguration // contains filtered or unexported fields }
type ExportJournalToS3Output ¶
type ExportJournalToS3Output struct { // The UUID (represented in Base62-encoded text) that QLDB assigns to each journal // export job. To describe your export request and check the status of the job, you // can use ExportId to call DescribeJournalS3Export. // // This member is required. ExportId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetBlockInput ¶
type GetBlockInput struct { // The location of the block that you want to request. An address is an Amazon Ion // structure that has two fields: strandId and sequenceNo. For example: // {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}. // // This member is required. BlockAddress *types.ValueHolder // The name of the ledger. // // This member is required. Name *string // The latest block location covered by the digest for which to request a proof. An // address is an Amazon Ion structure that has two fields: strandId and sequenceNo. // For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}. DigestTipAddress *types.ValueHolder // contains filtered or unexported fields }
type GetBlockOutput ¶
type GetBlockOutput struct { // The block data object in Amazon Ion format. // // This member is required. Block *types.ValueHolder // The proof object in Amazon Ion format returned by a GetBlock request. A proof // contains the list of hash values required to recalculate the specified digest // using a Merkle tree, starting with the specified block. Proof *types.ValueHolder // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDigestInput ¶
type GetDigestInput struct { // The name of the ledger. // // This member is required. Name *string // contains filtered or unexported fields }
type GetDigestOutput ¶
type GetDigestOutput struct { // The 256-bit hash value representing the digest returned by a GetDigest request. // // This member is required. Digest []byte // The latest block location covered by the digest that you requested. An address // is an Amazon Ion structure that has two fields: strandId and sequenceNo. // // This member is required. DigestTipAddress *types.ValueHolder // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRevisionInput ¶
type GetRevisionInput struct { // The block location of the document revision to be verified. An address is an // Amazon Ion structure that has two fields: strandId and sequenceNo. For example: // {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}. // // This member is required. BlockAddress *types.ValueHolder // The UUID (represented in Base62-encoded text) of the document to be verified. // // This member is required. DocumentId *string // The name of the ledger. // // This member is required. Name *string // The latest block location covered by the digest for which to request a proof. An // address is an Amazon Ion structure that has two fields: strandId and sequenceNo. // For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}. DigestTipAddress *types.ValueHolder // contains filtered or unexported fields }
type GetRevisionOutput ¶
type GetRevisionOutput struct { // The document revision data object in Amazon Ion format. // // This member is required. Revision *types.ValueHolder // The proof object in Amazon Ion format returned by a GetRevision request. A proof // contains the list of hash values that are required to recalculate the specified // digest using a Merkle tree, starting with the specified document revision. Proof *types.ValueHolder // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListJournalKinesisStreamsForLedgerAPIClient ¶ added in v0.30.0
type ListJournalKinesisStreamsForLedgerAPIClient interface {
ListJournalKinesisStreamsForLedger(context.Context, *ListJournalKinesisStreamsForLedgerInput, ...func(*Options)) (*ListJournalKinesisStreamsForLedgerOutput, error)
}
ListJournalKinesisStreamsForLedgerAPIClient is a client that implements the ListJournalKinesisStreamsForLedger operation.
type ListJournalKinesisStreamsForLedgerInput ¶
type ListJournalKinesisStreamsForLedgerInput struct { // The name of the ledger. // // This member is required. LedgerName *string // The maximum number of results to return in a single // ListJournalKinesisStreamsForLedger request. (The actual number of results // returned might be fewer.) MaxResults *int32 // A pagination token, indicating that you want to retrieve the next page of // results. If you received a value for NextToken in the response from a previous // ListJournalKinesisStreamsForLedger call, you should use that value as input // here. NextToken *string // contains filtered or unexported fields }
type ListJournalKinesisStreamsForLedgerOutput ¶
type ListJournalKinesisStreamsForLedgerOutput struct { // * If NextToken is empty, the last page of results has been processed and there // are no more results to be retrieved. // // * If NextToken is not empty, more results // are available. To retrieve the next page of results, use the value of NextToken // in a subsequent ListJournalKinesisStreamsForLedger call. NextToken *string // The array of QLDB journal stream descriptors that are associated with the given // ledger. Streams []types.JournalKinesisStreamDescription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListJournalKinesisStreamsForLedgerPaginator ¶ added in v0.30.0
type ListJournalKinesisStreamsForLedgerPaginator struct {
// contains filtered or unexported fields
}
ListJournalKinesisStreamsForLedgerPaginator is a paginator for ListJournalKinesisStreamsForLedger
func NewListJournalKinesisStreamsForLedgerPaginator ¶ added in v0.30.0
func NewListJournalKinesisStreamsForLedgerPaginator(client ListJournalKinesisStreamsForLedgerAPIClient, params *ListJournalKinesisStreamsForLedgerInput, optFns ...func(*ListJournalKinesisStreamsForLedgerPaginatorOptions)) *ListJournalKinesisStreamsForLedgerPaginator
NewListJournalKinesisStreamsForLedgerPaginator returns a new ListJournalKinesisStreamsForLedgerPaginator
func (*ListJournalKinesisStreamsForLedgerPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListJournalKinesisStreamsForLedgerPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListJournalKinesisStreamsForLedgerPaginator) NextPage ¶ added in v0.30.0
func (p *ListJournalKinesisStreamsForLedgerPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListJournalKinesisStreamsForLedgerOutput, error)
NextPage retrieves the next ListJournalKinesisStreamsForLedger page.
type ListJournalKinesisStreamsForLedgerPaginatorOptions ¶ added in v0.30.0
type ListJournalKinesisStreamsForLedgerPaginatorOptions struct { // The maximum number of results to return in a single // ListJournalKinesisStreamsForLedger request. (The actual number of results // returned might be fewer.) Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListJournalKinesisStreamsForLedgerPaginatorOptions is the paginator options for ListJournalKinesisStreamsForLedger
type ListJournalS3ExportsAPIClient ¶ added in v0.30.0
type ListJournalS3ExportsAPIClient interface {
ListJournalS3Exports(context.Context, *ListJournalS3ExportsInput, ...func(*Options)) (*ListJournalS3ExportsOutput, error)
}
ListJournalS3ExportsAPIClient is a client that implements the ListJournalS3Exports operation.
type ListJournalS3ExportsForLedgerAPIClient ¶ added in v0.30.0
type ListJournalS3ExportsForLedgerAPIClient interface {
ListJournalS3ExportsForLedger(context.Context, *ListJournalS3ExportsForLedgerInput, ...func(*Options)) (*ListJournalS3ExportsForLedgerOutput, error)
}
ListJournalS3ExportsForLedgerAPIClient is a client that implements the ListJournalS3ExportsForLedger operation.
type ListJournalS3ExportsForLedgerInput ¶
type ListJournalS3ExportsForLedgerInput struct { // The name of the ledger. // // This member is required. Name *string // The maximum number of results to return in a single // ListJournalS3ExportsForLedger request. (The actual number of results returned // might be fewer.) MaxResults *int32 // A pagination token, indicating that you want to retrieve the next page of // results. If you received a value for NextToken in the response from a previous // ListJournalS3ExportsForLedger call, then you should use that value as input // here. NextToken *string // contains filtered or unexported fields }
type ListJournalS3ExportsForLedgerOutput ¶
type ListJournalS3ExportsForLedgerOutput struct { // The array of journal export job descriptions that are associated with the // specified ledger. JournalS3Exports []types.JournalS3ExportDescription // * If NextToken is empty, then the last page of results has been processed and // there are no more results to be retrieved. // // * If NextToken is not empty, then // there are more results available. To retrieve the next page of results, use the // value of NextToken in a subsequent ListJournalS3ExportsForLedger call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListJournalS3ExportsForLedgerPaginator ¶ added in v0.30.0
type ListJournalS3ExportsForLedgerPaginator struct {
// contains filtered or unexported fields
}
ListJournalS3ExportsForLedgerPaginator is a paginator for ListJournalS3ExportsForLedger
func NewListJournalS3ExportsForLedgerPaginator ¶ added in v0.30.0
func NewListJournalS3ExportsForLedgerPaginator(client ListJournalS3ExportsForLedgerAPIClient, params *ListJournalS3ExportsForLedgerInput, optFns ...func(*ListJournalS3ExportsForLedgerPaginatorOptions)) *ListJournalS3ExportsForLedgerPaginator
NewListJournalS3ExportsForLedgerPaginator returns a new ListJournalS3ExportsForLedgerPaginator
func (*ListJournalS3ExportsForLedgerPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListJournalS3ExportsForLedgerPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListJournalS3ExportsForLedgerPaginator) NextPage ¶ added in v0.30.0
func (p *ListJournalS3ExportsForLedgerPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListJournalS3ExportsForLedgerOutput, error)
NextPage retrieves the next ListJournalS3ExportsForLedger page.
type ListJournalS3ExportsForLedgerPaginatorOptions ¶ added in v0.30.0
type ListJournalS3ExportsForLedgerPaginatorOptions struct { // The maximum number of results to return in a single // ListJournalS3ExportsForLedger request. (The actual number of results returned // might be fewer.) Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListJournalS3ExportsForLedgerPaginatorOptions is the paginator options for ListJournalS3ExportsForLedger
type ListJournalS3ExportsInput ¶
type ListJournalS3ExportsInput struct { // The maximum number of results to return in a single ListJournalS3Exports // request. (The actual number of results returned might be fewer.) MaxResults *int32 // A pagination token, indicating that you want to retrieve the next page of // results. If you received a value for NextToken in the response from a previous // ListJournalS3Exports call, then you should use that value as input here. NextToken *string // contains filtered or unexported fields }
type ListJournalS3ExportsOutput ¶
type ListJournalS3ExportsOutput struct { // The array of journal export job descriptions for all ledgers that are associated // with the current account and Region. JournalS3Exports []types.JournalS3ExportDescription // * If NextToken is empty, then the last page of results has been processed and // there are no more results to be retrieved. // // * If NextToken is not empty, then // there are more results available. To retrieve the next page of results, use the // value of NextToken in a subsequent ListJournalS3Exports call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListJournalS3ExportsPaginator ¶ added in v0.30.0
type ListJournalS3ExportsPaginator struct {
// contains filtered or unexported fields
}
ListJournalS3ExportsPaginator is a paginator for ListJournalS3Exports
func NewListJournalS3ExportsPaginator ¶ added in v0.30.0
func NewListJournalS3ExportsPaginator(client ListJournalS3ExportsAPIClient, params *ListJournalS3ExportsInput, optFns ...func(*ListJournalS3ExportsPaginatorOptions)) *ListJournalS3ExportsPaginator
NewListJournalS3ExportsPaginator returns a new ListJournalS3ExportsPaginator
func (*ListJournalS3ExportsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListJournalS3ExportsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListJournalS3ExportsPaginator) NextPage ¶ added in v0.30.0
func (p *ListJournalS3ExportsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListJournalS3ExportsOutput, error)
NextPage retrieves the next ListJournalS3Exports page.
type ListJournalS3ExportsPaginatorOptions ¶ added in v0.30.0
type ListJournalS3ExportsPaginatorOptions struct { // The maximum number of results to return in a single ListJournalS3Exports // request. (The actual number of results returned might be fewer.) Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListJournalS3ExportsPaginatorOptions is the paginator options for ListJournalS3Exports
type ListLedgersAPIClient ¶ added in v0.30.0
type ListLedgersAPIClient interface {
ListLedgers(context.Context, *ListLedgersInput, ...func(*Options)) (*ListLedgersOutput, error)
}
ListLedgersAPIClient is a client that implements the ListLedgers operation.
type ListLedgersInput ¶
type ListLedgersInput struct { // The maximum number of results to return in a single ListLedgers request. (The // actual number of results returned might be fewer.) MaxResults *int32 // A pagination token, indicating that you want to retrieve the next page of // results. If you received a value for NextToken in the response from a previous // ListLedgers call, then you should use that value as input here. NextToken *string // contains filtered or unexported fields }
type ListLedgersOutput ¶
type ListLedgersOutput struct { // The array of ledger summaries that are associated with the current account and // Region. Ledgers []types.LedgerSummary // A pagination token, indicating whether there are more results available: // // * If // NextToken is empty, then the last page of results has been processed and there // are no more results to be retrieved. // // * If NextToken is not empty, then there // are more results available. To retrieve the next page of results, use the value // of NextToken in a subsequent ListLedgers call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLedgersPaginator ¶ added in v0.30.0
type ListLedgersPaginator struct {
// contains filtered or unexported fields
}
ListLedgersPaginator is a paginator for ListLedgers
func NewListLedgersPaginator ¶ added in v0.30.0
func NewListLedgersPaginator(client ListLedgersAPIClient, params *ListLedgersInput, optFns ...func(*ListLedgersPaginatorOptions)) *ListLedgersPaginator
NewListLedgersPaginator returns a new ListLedgersPaginator
func (*ListLedgersPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListLedgersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListLedgersPaginator) NextPage ¶ added in v0.30.0
func (p *ListLedgersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLedgersOutput, error)
NextPage retrieves the next ListLedgers page.
type ListLedgersPaginatorOptions ¶ added in v0.30.0
type ListLedgersPaginatorOptions struct { // The maximum number of results to return in a single ListLedgers request. (The // actual number of results returned might be fewer.) Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListLedgersPaginatorOptions is the paginator options for ListLedgers
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for which to list the tags. For example: // arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags that are currently associated with the specified Amazon QLDB resource. Tags map[string]*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StreamJournalToKinesisInput ¶
type StreamJournalToKinesisInput struct { // The inclusive start date and time from which to start streaming journal data. // This parameter must be in ISO 8601 date and time format and in Universal // Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z. The // InclusiveStartTime cannot be in the future and must be before ExclusiveEndTime. // If you provide an InclusiveStartTime that is before the ledger's // CreationDateTime, QLDB effectively defaults it to the ledger's CreationDateTime. // // This member is required. InclusiveStartTime *time.Time // The configuration settings of the Kinesis Data Streams destination for your // stream request. // // This member is required. KinesisConfiguration *types.KinesisConfiguration // The name of the ledger. // // This member is required. LedgerName *string // The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for // a journal stream to write data records to a Kinesis Data Streams resource. // // This member is required. RoleArn *string // The name that you want to assign to the QLDB journal stream. User-defined names // can help identify and indicate the purpose of a stream. Your stream name must be // unique among other active streams for a given ledger. Stream names have the same // naming constraints as ledger names, as defined in Quotas in Amazon QLDB // (https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming) // in the Amazon QLDB Developer Guide. // // This member is required. StreamName *string // The exclusive date and time that specifies when the stream ends. If you don't // define this parameter, the stream runs indefinitely until you cancel it. The // ExclusiveEndTime must be in ISO 8601 date and time format and in Universal // Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z. ExclusiveEndTime *time.Time // The key-value pairs to add as tags to the stream that you want to create. Tag // keys are case sensitive. Tag values are case sensitive and can be null. Tags map[string]*string // contains filtered or unexported fields }
type StreamJournalToKinesisOutput ¶
type StreamJournalToKinesisOutput struct { // The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB // journal stream. StreamId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) to which you want to add the tags. For example: // arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger // // This member is required. ResourceArn *string // The key-value pairs to add as tags to the specified QLDB resource. Tag keys are // case sensitive. If you specify a key that already exists for the resource, your // request fails and returns an error. Tag values are case sensitive and can be // null. // // This member is required. Tags map[string]*string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) from which to remove the tags. For example: // arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger // // This member is required. ResourceArn *string // The list of tag keys to remove. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateLedgerInput ¶
type UpdateLedgerInput struct { // The name of the ledger. // // This member is required. Name *string // The flag that prevents a ledger from being deleted by any user. If not provided // on ledger creation, this feature is enabled (true) by default. If deletion // protection is enabled, you must first disable it before you can delete the // ledger. You can disable it by calling the UpdateLedger operation to set the flag // to false. DeletionProtection *bool // The key in Key Management Service (KMS) to use for encryption of data at rest in // the ledger. For more information, see Encryption at rest // (https://docs.aws.amazon.com/qldb/latest/developerguide/encryption-at-rest.html) // in the Amazon QLDB Developer Guide. Use one of the following options to specify // this parameter: // // * AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed // by Amazon Web Services on your behalf. // // * Undefined: Make no changes to the KMS // key of the ledger. // // * A valid symmetric customer managed KMS key: Use the // specified KMS key in your account that you create, own, and manage. Amazon QLDB // does not support asymmetric keys. For more information, see Using symmetric and // asymmetric keys // (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) // in the Key Management Service Developer Guide. // // To specify a customer managed // KMS key, you can use its key ID, Amazon Resource Name (ARN), alias name, or // alias ARN. When using an alias name, prefix it with "alias/". To specify a key // in a different account, you must use the key ARN or alias ARN. For example: // // * // Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // * Key ARN: // arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab // // * // Alias name: alias/ExampleAlias // // * Alias ARN: // arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias // // For more information, see // Key identifiers (KeyId) // (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) in // the Key Management Service Developer Guide. KmsKey *string // contains filtered or unexported fields }
type UpdateLedgerOutput ¶
type UpdateLedgerOutput struct { // The Amazon Resource Name (ARN) for the ledger. Arn *string // The date and time, in epoch time format, when the ledger was created. (Epoch // time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 // UTC.) CreationDateTime *time.Time // The flag that prevents a ledger from being deleted by any user. If not provided // on ledger creation, this feature is enabled (true) by default. If deletion // protection is enabled, you must first disable it before you can delete the // ledger. You can disable it by calling the UpdateLedger operation to set the flag // to false. DeletionProtection *bool // Information about the encryption of data at rest in the ledger. This includes // the current status, the KMS key, and when the key became inaccessible (in the // case of an error). EncryptionDescription *types.LedgerEncryptionDescription // The name of the ledger. Name *string // The current status of the ledger. State types.LedgerState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateLedgerPermissionsModeInput ¶ added in v1.3.0
type UpdateLedgerPermissionsModeInput struct { // The name of the ledger. // // This member is required. Name *string // The permissions mode to assign to the ledger. This parameter can have one of the // following values: // // * ALLOW_ALL: A legacy permissions mode that enables access // control with API-level granularity for ledgers. This mode allows users who have // the SendCommand API permission for this ledger to run all PartiQL commands // (hence, ALLOW_ALL) on any tables in the specified ledger. This mode disregards // any table-level or command-level IAM permissions policies that you create for // the ledger. // // * STANDARD: (Recommended) A permissions mode that enables access // control with finer granularity for ledgers, tables, and PartiQL commands. By // default, this mode denies all user requests to run any PartiQL commands on any // tables in this ledger. To allow PartiQL commands to run, you must create IAM // permissions policies for specific table resources and PartiQL actions, in // addition to the SendCommand API permission for the ledger. For information, see // Getting started with the standard permissions mode // (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-standard-mode.html) // in the Amazon QLDB Developer Guide. // // We strongly recommend using the STANDARD // permissions mode to maximize the security of your ledger data. // // This member is required. PermissionsMode types.PermissionsMode // contains filtered or unexported fields }
type UpdateLedgerPermissionsModeOutput ¶ added in v1.3.0
type UpdateLedgerPermissionsModeOutput struct { // The Amazon Resource Name (ARN) for the ledger. Arn *string // The name of the ledger. Name *string // The current permissions mode of the ledger. PermissionsMode types.PermissionsMode // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CancelJournalKinesisStream.go
- api_op_CreateLedger.go
- api_op_DeleteLedger.go
- api_op_DescribeJournalKinesisStream.go
- api_op_DescribeJournalS3Export.go
- api_op_DescribeLedger.go
- api_op_ExportJournalToS3.go
- api_op_GetBlock.go
- api_op_GetDigest.go
- api_op_GetRevision.go
- api_op_ListJournalKinesisStreamsForLedger.go
- api_op_ListJournalS3Exports.go
- api_op_ListJournalS3ExportsForLedger.go
- api_op_ListLedgers.go
- api_op_ListTagsForResource.go
- api_op_StreamJournalToKinesis.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateLedger.go
- api_op_UpdateLedgerPermissionsMode.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- serializers.go
- validators.go