Documentation ¶
Overview ¶
Package schemas provides the client and types for making API requests to Schemas.
Amazon EventBridge Schema Registry ¶
See https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02 for more information on this service.
See schemas package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/schemas/
Using the Client ¶
To use Schemas with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Schemas client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/schemas/#New
Index ¶
- Constants
- type Client
- func (c *Client) CreateDiscovererRequest(input *CreateDiscovererInput) CreateDiscovererRequest
- func (c *Client) CreateRegistryRequest(input *CreateRegistryInput) CreateRegistryRequest
- func (c *Client) CreateSchemaRequest(input *CreateSchemaInput) CreateSchemaRequest
- func (c *Client) DeleteDiscovererRequest(input *DeleteDiscovererInput) DeleteDiscovererRequest
- func (c *Client) DeleteRegistryRequest(input *DeleteRegistryInput) DeleteRegistryRequest
- func (c *Client) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) DeleteResourcePolicyRequest
- func (c *Client) DeleteSchemaRequest(input *DeleteSchemaInput) DeleteSchemaRequest
- func (c *Client) DeleteSchemaVersionRequest(input *DeleteSchemaVersionInput) DeleteSchemaVersionRequest
- func (c *Client) DescribeCodeBindingRequest(input *DescribeCodeBindingInput) DescribeCodeBindingRequest
- func (c *Client) DescribeDiscovererRequest(input *DescribeDiscovererInput) DescribeDiscovererRequest
- func (c *Client) DescribeRegistryRequest(input *DescribeRegistryInput) DescribeRegistryRequest
- func (c *Client) DescribeSchemaRequest(input *DescribeSchemaInput) DescribeSchemaRequest
- func (c *Client) GetCodeBindingSourceRequest(input *GetCodeBindingSourceInput) GetCodeBindingSourceRequest
- func (c *Client) GetDiscoveredSchemaRequest(input *GetDiscoveredSchemaInput) GetDiscoveredSchemaRequest
- func (c *Client) GetResourcePolicyRequest(input *GetResourcePolicyInput) GetResourcePolicyRequest
- func (c *Client) ListDiscoverersRequest(input *ListDiscoverersInput) ListDiscoverersRequest
- func (c *Client) ListRegistriesRequest(input *ListRegistriesInput) ListRegistriesRequest
- func (c *Client) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) ListSchemaVersionsRequest
- func (c *Client) ListSchemasRequest(input *ListSchemasInput) ListSchemasRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) LockServiceLinkedRoleRequest(input *LockServiceLinkedRoleInput) LockServiceLinkedRoleRequest
- func (c *Client) PutCodeBindingRequest(input *PutCodeBindingInput) PutCodeBindingRequest
- func (c *Client) PutResourcePolicyRequest(input *PutResourcePolicyInput) PutResourcePolicyRequest
- func (c *Client) SearchSchemasRequest(input *SearchSchemasInput) SearchSchemasRequest
- func (c *Client) StartDiscovererRequest(input *StartDiscovererInput) StartDiscovererRequest
- func (c *Client) StopDiscovererRequest(input *StopDiscovererInput) StopDiscovererRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UnlockServiceLinkedRoleRequest(input *UnlockServiceLinkedRoleInput) UnlockServiceLinkedRoleRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateDiscovererRequest(input *UpdateDiscovererInput) UpdateDiscovererRequest
- func (c *Client) UpdateRegistryRequest(input *UpdateRegistryInput) UpdateRegistryRequest
- func (c *Client) UpdateSchemaRequest(input *UpdateSchemaInput) UpdateSchemaRequest
- func (c *Client) WaitUntilCodeBindingExists(ctx context.Context, input *DescribeCodeBindingInput, opts ...aws.WaiterOption) error
- type CodeGenerationStatus
- type CreateDiscovererInput
- type CreateDiscovererOutput
- type CreateDiscovererRequest
- type CreateDiscovererResponse
- type CreateRegistryInput
- type CreateRegistryOutput
- type CreateRegistryRequest
- type CreateRegistryResponse
- type CreateSchemaInput
- type CreateSchemaOutput
- type CreateSchemaRequest
- type CreateSchemaResponse
- type DeleteDiscovererInput
- type DeleteDiscovererOutput
- type DeleteDiscovererRequest
- type DeleteDiscovererResponse
- type DeleteRegistryInput
- type DeleteRegistryOutput
- type DeleteRegistryRequest
- type DeleteRegistryResponse
- type DeleteResourcePolicyInput
- type DeleteResourcePolicyOutput
- type DeleteResourcePolicyRequest
- type DeleteResourcePolicyResponse
- type DeleteSchemaInput
- type DeleteSchemaOutput
- type DeleteSchemaRequest
- type DeleteSchemaResponse
- type DeleteSchemaVersionInput
- type DeleteSchemaVersionOutput
- type DeleteSchemaVersionRequest
- type DeleteSchemaVersionResponse
- type DescribeCodeBindingInput
- type DescribeCodeBindingOutput
- type DescribeCodeBindingRequest
- type DescribeCodeBindingResponse
- type DescribeDiscovererInput
- type DescribeDiscovererOutput
- type DescribeDiscovererRequest
- type DescribeDiscovererResponse
- type DescribeRegistryInput
- type DescribeRegistryOutput
- type DescribeRegistryRequest
- type DescribeRegistryResponse
- type DescribeSchemaInput
- type DescribeSchemaOutput
- type DescribeSchemaRequest
- type DescribeSchemaResponse
- type DiscovererState
- type DiscovererSummary
- type GetCodeBindingSourceInput
- type GetCodeBindingSourceOutput
- type GetCodeBindingSourceRequest
- type GetCodeBindingSourceResponse
- type GetDiscoveredSchemaInput
- type GetDiscoveredSchemaOutput
- type GetDiscoveredSchemaRequest
- type GetDiscoveredSchemaResponse
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type GetResourcePolicyRequest
- type GetResourcePolicyResponse
- type ListDiscoverersInput
- type ListDiscoverersOutput
- type ListDiscoverersPaginator
- type ListDiscoverersRequest
- type ListDiscoverersResponse
- type ListRegistriesInput
- type ListRegistriesOutput
- type ListRegistriesPaginator
- type ListRegistriesRequest
- type ListRegistriesResponse
- type ListSchemaVersionsInput
- type ListSchemaVersionsOutput
- type ListSchemaVersionsPaginator
- type ListSchemaVersionsRequest
- type ListSchemaVersionsResponse
- type ListSchemasInput
- type ListSchemasOutput
- type ListSchemasPaginator
- type ListSchemasRequest
- type ListSchemasResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type LockServiceLinkedRoleInput
- type LockServiceLinkedRoleOutput
- type LockServiceLinkedRoleRequest
- type LockServiceLinkedRoleResponse
- type PutCodeBindingInput
- type PutCodeBindingOutput
- type PutCodeBindingRequest
- type PutCodeBindingResponse
- type PutResourcePolicyInput
- type PutResourcePolicyOutput
- type PutResourcePolicyRequest
- type PutResourcePolicyResponse
- type RegistrySummary
- type SchemaSummary
- type SchemaVersionSummary
- type SearchSchemaSummary
- type SearchSchemaVersionSummary
- type SearchSchemasInput
- type SearchSchemasOutput
- type SearchSchemasPaginator
- type SearchSchemasRequest
- type SearchSchemasResponse
- type StartDiscovererInput
- type StartDiscovererOutput
- type StartDiscovererRequest
- type StartDiscovererResponse
- type StopDiscovererInput
- type StopDiscovererOutput
- type StopDiscovererRequest
- type StopDiscovererResponse
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type Type
- type UnlockServiceLinkedRoleInput
- type UnlockServiceLinkedRoleOutput
- type UnlockServiceLinkedRoleRequest
- type UnlockServiceLinkedRoleResponse
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateDiscovererInput
- type UpdateDiscovererOutput
- type UpdateDiscovererRequest
- type UpdateDiscovererResponse
- type UpdateRegistryInput
- type UpdateRegistryOutput
- type UpdateRegistryRequest
- type UpdateRegistryResponse
- type UpdateSchemaInput
- type UpdateSchemaOutput
- type UpdateSchemaRequest
- type UpdateSchemaResponse
Constants ¶
const ( ServiceName = "Schemas" // Service's name ServiceID = "Schemas" // Service's identifier EndpointsID = "schemas" // Service's Endpoint identifier )
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". ErrCodeBadRequestException = "BadRequestException" // ErrCodeConflictException for service response error code // "ConflictException". ErrCodeConflictException = "ConflictException" // ErrCodeForbiddenException for service response error code // "ForbiddenException". ErrCodeForbiddenException = "ForbiddenException" // ErrCodeGoneException for service response error code // "GoneException". ErrCodeGoneException = "GoneException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeNotFoundException for service response error code // "NotFoundException". ErrCodeNotFoundException = "NotFoundException" // ErrCodePreconditionFailedException for service response error code // "PreconditionFailedException". ErrCodePreconditionFailedException = "PreconditionFailedException" // "ServiceUnavailableException". ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". ErrCodeTooManyRequestsException = "TooManyRequestsException" // "UnauthorizedException". ErrCodeUnauthorizedException = "UnauthorizedException" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client provides the API operation methods for making requests to Schemas. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := schemas.New(myConfig)
func (*Client) CreateDiscovererRequest ¶
func (c *Client) CreateDiscovererRequest(input *CreateDiscovererInput) CreateDiscovererRequest
CreateDiscovererRequest returns a request value for making API operation for Schemas.
Creates a discoverer.
// Example sending a request using CreateDiscovererRequest. req := client.CreateDiscovererRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateDiscoverer
func (*Client) CreateRegistryRequest ¶
func (c *Client) CreateRegistryRequest(input *CreateRegistryInput) CreateRegistryRequest
CreateRegistryRequest returns a request value for making API operation for Schemas.
Creates a registry.
// Example sending a request using CreateRegistryRequest. req := client.CreateRegistryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateRegistry
func (*Client) CreateSchemaRequest ¶
func (c *Client) CreateSchemaRequest(input *CreateSchemaInput) CreateSchemaRequest
CreateSchemaRequest returns a request value for making API operation for Schemas.
Creates a schema definition.
Inactive schemas will be deleted after two years.
// Example sending a request using CreateSchemaRequest. req := client.CreateSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateSchema
func (*Client) DeleteDiscovererRequest ¶
func (c *Client) DeleteDiscovererRequest(input *DeleteDiscovererInput) DeleteDiscovererRequest
DeleteDiscovererRequest returns a request value for making API operation for Schemas.
Deletes a discoverer.
// Example sending a request using DeleteDiscovererRequest. req := client.DeleteDiscovererRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteDiscoverer
func (*Client) DeleteRegistryRequest ¶
func (c *Client) DeleteRegistryRequest(input *DeleteRegistryInput) DeleteRegistryRequest
DeleteRegistryRequest returns a request value for making API operation for Schemas.
Deletes a Registry.
// Example sending a request using DeleteRegistryRequest. req := client.DeleteRegistryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteRegistry
func (*Client) DeleteResourcePolicyRequest ¶
func (c *Client) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) DeleteResourcePolicyRequest
DeleteResourcePolicyRequest returns a request value for making API operation for Schemas.
Delete the resource-based policy attached to the specified registry.
// Example sending a request using DeleteResourcePolicyRequest. req := client.DeleteResourcePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteResourcePolicy
func (*Client) DeleteSchemaRequest ¶
func (c *Client) DeleteSchemaRequest(input *DeleteSchemaInput) DeleteSchemaRequest
DeleteSchemaRequest returns a request value for making API operation for Schemas.
Delete a schema definition.
// Example sending a request using DeleteSchemaRequest. req := client.DeleteSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchema
func (*Client) DeleteSchemaVersionRequest ¶
func (c *Client) DeleteSchemaVersionRequest(input *DeleteSchemaVersionInput) DeleteSchemaVersionRequest
DeleteSchemaVersionRequest returns a request value for making API operation for Schemas.
Delete the schema version definition
// Example sending a request using DeleteSchemaVersionRequest. req := client.DeleteSchemaVersionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchemaVersion
func (*Client) DescribeCodeBindingRequest ¶
func (c *Client) DescribeCodeBindingRequest(input *DescribeCodeBindingInput) DescribeCodeBindingRequest
DescribeCodeBindingRequest returns a request value for making API operation for Schemas.
Describe the code binding URI.
// Example sending a request using DescribeCodeBindingRequest. req := client.DescribeCodeBindingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeCodeBinding
func (*Client) DescribeDiscovererRequest ¶
func (c *Client) DescribeDiscovererRequest(input *DescribeDiscovererInput) DescribeDiscovererRequest
DescribeDiscovererRequest returns a request value for making API operation for Schemas.
Describes the discoverer.
// Example sending a request using DescribeDiscovererRequest. req := client.DescribeDiscovererRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeDiscoverer
func (*Client) DescribeRegistryRequest ¶
func (c *Client) DescribeRegistryRequest(input *DescribeRegistryInput) DescribeRegistryRequest
DescribeRegistryRequest returns a request value for making API operation for Schemas.
Describes the registry.
// Example sending a request using DescribeRegistryRequest. req := client.DescribeRegistryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeRegistry
func (*Client) DescribeSchemaRequest ¶
func (c *Client) DescribeSchemaRequest(input *DescribeSchemaInput) DescribeSchemaRequest
DescribeSchemaRequest returns a request value for making API operation for Schemas.
Retrieve the schema definition.
// Example sending a request using DescribeSchemaRequest. req := client.DescribeSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeSchema
func (*Client) GetCodeBindingSourceRequest ¶
func (c *Client) GetCodeBindingSourceRequest(input *GetCodeBindingSourceInput) GetCodeBindingSourceRequest
GetCodeBindingSourceRequest returns a request value for making API operation for Schemas.
Get the code binding source URI.
// Example sending a request using GetCodeBindingSourceRequest. req := client.GetCodeBindingSourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetCodeBindingSource
func (*Client) GetDiscoveredSchemaRequest ¶
func (c *Client) GetDiscoveredSchemaRequest(input *GetDiscoveredSchemaInput) GetDiscoveredSchemaRequest
GetDiscoveredSchemaRequest returns a request value for making API operation for Schemas.
Get the discovered schema that was generated based on sampled events.
// Example sending a request using GetDiscoveredSchemaRequest. req := client.GetDiscoveredSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetDiscoveredSchema
func (*Client) GetResourcePolicyRequest ¶
func (c *Client) GetResourcePolicyRequest(input *GetResourcePolicyInput) GetResourcePolicyRequest
GetResourcePolicyRequest returns a request value for making API operation for Schemas.
Retrieves the resource-based policy attached to a given registry.
// Example sending a request using GetResourcePolicyRequest. req := client.GetResourcePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetResourcePolicy
func (*Client) ListDiscoverersRequest ¶
func (c *Client) ListDiscoverersRequest(input *ListDiscoverersInput) ListDiscoverersRequest
ListDiscoverersRequest returns a request value for making API operation for Schemas.
List the discoverers.
// Example sending a request using ListDiscoverersRequest. req := client.ListDiscoverersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListDiscoverers
func (*Client) ListRegistriesRequest ¶
func (c *Client) ListRegistriesRequest(input *ListRegistriesInput) ListRegistriesRequest
ListRegistriesRequest returns a request value for making API operation for Schemas.
List the registries.
// Example sending a request using ListRegistriesRequest. req := client.ListRegistriesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListRegistries
func (*Client) ListSchemaVersionsRequest ¶
func (c *Client) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) ListSchemaVersionsRequest
ListSchemaVersionsRequest returns a request value for making API operation for Schemas.
Provides a list of the schema versions and related information.
// Example sending a request using ListSchemaVersionsRequest. req := client.ListSchemaVersionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemaVersions
func (*Client) ListSchemasRequest ¶
func (c *Client) ListSchemasRequest(input *ListSchemasInput) ListSchemasRequest
ListSchemasRequest returns a request value for making API operation for Schemas.
List the schemas.
// Example sending a request using ListSchemasRequest. req := client.ListSchemasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemas
func (*Client) ListTagsForResourceRequest ¶
func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Schemas.
Get tags for resource.
// Example sending a request using ListTagsForResourceRequest. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListTagsForResource
func (*Client) LockServiceLinkedRoleRequest ¶
func (c *Client) LockServiceLinkedRoleRequest(input *LockServiceLinkedRoleInput) LockServiceLinkedRoleRequest
LockServiceLinkedRoleRequest returns a request value for making API operation for Schemas.
// Example sending a request using LockServiceLinkedRoleRequest. req := client.LockServiceLinkedRoleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/LockServiceLinkedRole
func (*Client) PutCodeBindingRequest ¶
func (c *Client) PutCodeBindingRequest(input *PutCodeBindingInput) PutCodeBindingRequest
PutCodeBindingRequest returns a request value for making API operation for Schemas.
Put code binding URI
// Example sending a request using PutCodeBindingRequest. req := client.PutCodeBindingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutCodeBinding
func (*Client) PutResourcePolicyRequest ¶
func (c *Client) PutResourcePolicyRequest(input *PutResourcePolicyInput) PutResourcePolicyRequest
PutResourcePolicyRequest returns a request value for making API operation for Schemas.
The name of the policy.
// Example sending a request using PutResourcePolicyRequest. req := client.PutResourcePolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutResourcePolicy
func (*Client) SearchSchemasRequest ¶
func (c *Client) SearchSchemasRequest(input *SearchSchemasInput) SearchSchemasRequest
SearchSchemasRequest returns a request value for making API operation for Schemas.
Search the schemas
// Example sending a request using SearchSchemasRequest. req := client.SearchSchemasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/SearchSchemas
func (*Client) StartDiscovererRequest ¶
func (c *Client) StartDiscovererRequest(input *StartDiscovererInput) StartDiscovererRequest
StartDiscovererRequest returns a request value for making API operation for Schemas.
Starts the discoverer
// Example sending a request using StartDiscovererRequest. req := client.StartDiscovererRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StartDiscoverer
func (*Client) StopDiscovererRequest ¶
func (c *Client) StopDiscovererRequest(input *StopDiscovererInput) StopDiscovererRequest
StopDiscovererRequest returns a request value for making API operation for Schemas.
Stops the discoverer
// Example sending a request using StopDiscovererRequest. req := client.StopDiscovererRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StopDiscoverer
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for Schemas.
Add tags to a resource.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/TagResource
func (*Client) UnlockServiceLinkedRoleRequest ¶
func (c *Client) UnlockServiceLinkedRoleRequest(input *UnlockServiceLinkedRoleInput) UnlockServiceLinkedRoleRequest
UnlockServiceLinkedRoleRequest returns a request value for making API operation for Schemas.
// Example sending a request using UnlockServiceLinkedRoleRequest. req := client.UnlockServiceLinkedRoleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UnlockServiceLinkedRole
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for Schemas.
Removes tags from a resource.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UntagResource
func (*Client) UpdateDiscovererRequest ¶
func (c *Client) UpdateDiscovererRequest(input *UpdateDiscovererInput) UpdateDiscovererRequest
UpdateDiscovererRequest returns a request value for making API operation for Schemas.
Updates the discoverer
// Example sending a request using UpdateDiscovererRequest. req := client.UpdateDiscovererRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscoverer
func (*Client) UpdateRegistryRequest ¶
func (c *Client) UpdateRegistryRequest(input *UpdateRegistryInput) UpdateRegistryRequest
UpdateRegistryRequest returns a request value for making API operation for Schemas.
Updates a registry.
// Example sending a request using UpdateRegistryRequest. req := client.UpdateRegistryRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateRegistry
func (*Client) UpdateSchemaRequest ¶
func (c *Client) UpdateSchemaRequest(input *UpdateSchemaInput) UpdateSchemaRequest
UpdateSchemaRequest returns a request value for making API operation for Schemas.
Updates the schema definition ¶
Inactive schemas will be deleted after two years.
// Example sending a request using UpdateSchemaRequest. req := client.UpdateSchemaRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateSchema
func (*Client) WaitUntilCodeBindingExists ¶
func (c *Client) WaitUntilCodeBindingExists(ctx context.Context, input *DescribeCodeBindingInput, opts ...aws.WaiterOption) error
WaitUntilCodeBindingExists uses the Schemas API operation DescribeCodeBinding to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CodeGenerationStatus ¶
type CodeGenerationStatus string
const ( CodeGenerationStatusCreateInProgress CodeGenerationStatus = "CREATE_IN_PROGRESS" CodeGenerationStatusCreateComplete CodeGenerationStatus = "CREATE_COMPLETE" CodeGenerationStatusCreateFailed CodeGenerationStatus = "CREATE_FAILED" )
Enum values for CodeGenerationStatus
func (CodeGenerationStatus) MarshalValue ¶
func (enum CodeGenerationStatus) MarshalValue() (string, error)
func (CodeGenerationStatus) MarshalValueBuf ¶
func (enum CodeGenerationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CreateDiscovererInput ¶
type CreateDiscovererInput struct { Description *string `type:"string"` // SourceArn is a required field SourceArn *string `min:"20" type:"string" required:"true"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (CreateDiscovererInput) MarshalFields ¶
func (s CreateDiscovererInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDiscovererInput) String ¶
func (s CreateDiscovererInput) String() string
String returns the string representation
func (*CreateDiscovererInput) Validate ¶
func (s *CreateDiscovererInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDiscovererOutput ¶
type CreateDiscovererOutput struct { Description *string `type:"string"` DiscovererArn *string `type:"string"` DiscovererId *string `type:"string"` SourceArn *string `type:"string"` State DiscovererState `type:"string" enum:"true"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (CreateDiscovererOutput) MarshalFields ¶
func (s CreateDiscovererOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDiscovererOutput) String ¶
func (s CreateDiscovererOutput) String() string
String returns the string representation
type CreateDiscovererRequest ¶
type CreateDiscovererRequest struct { *aws.Request Input *CreateDiscovererInput Copy func(*CreateDiscovererInput) CreateDiscovererRequest }
CreateDiscovererRequest is the request type for the CreateDiscoverer API operation.
func (CreateDiscovererRequest) Send ¶
func (r CreateDiscovererRequest) Send(ctx context.Context) (*CreateDiscovererResponse, error)
Send marshals and sends the CreateDiscoverer API request.
type CreateDiscovererResponse ¶
type CreateDiscovererResponse struct { *CreateDiscovererOutput // contains filtered or unexported fields }
CreateDiscovererResponse is the response type for the CreateDiscoverer API operation.
func (*CreateDiscovererResponse) SDKResponseMetdata ¶
func (r *CreateDiscovererResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateDiscoverer request.
type CreateRegistryInput ¶
type CreateRegistryInput struct { Description *string `type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (CreateRegistryInput) MarshalFields ¶
func (s CreateRegistryInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRegistryInput) String ¶
func (s CreateRegistryInput) String() string
String returns the string representation
func (*CreateRegistryInput) Validate ¶
func (s *CreateRegistryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRegistryOutput ¶
type CreateRegistryOutput struct { Description *string `type:"string"` RegistryArn *string `type:"string"` RegistryName *string `type:"string"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (CreateRegistryOutput) MarshalFields ¶
func (s CreateRegistryOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRegistryOutput) String ¶
func (s CreateRegistryOutput) String() string
String returns the string representation
type CreateRegistryRequest ¶
type CreateRegistryRequest struct { *aws.Request Input *CreateRegistryInput Copy func(*CreateRegistryInput) CreateRegistryRequest }
CreateRegistryRequest is the request type for the CreateRegistry API operation.
func (CreateRegistryRequest) Send ¶
func (r CreateRegistryRequest) Send(ctx context.Context) (*CreateRegistryResponse, error)
Send marshals and sends the CreateRegistry API request.
type CreateRegistryResponse ¶
type CreateRegistryResponse struct { *CreateRegistryOutput // contains filtered or unexported fields }
CreateRegistryResponse is the response type for the CreateRegistry API operation.
func (*CreateRegistryResponse) SDKResponseMetdata ¶
func (r *CreateRegistryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateRegistry request.
type CreateSchemaInput ¶
type CreateSchemaInput struct { // Content is a required field Content *string `min:"1" type:"string" required:"true"` Description *string `type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // Type is a required field Type Type `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (CreateSchemaInput) MarshalFields ¶
func (s CreateSchemaInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSchemaInput) String ¶
func (s CreateSchemaInput) String() string
String returns the string representation
func (*CreateSchemaInput) Validate ¶
func (s *CreateSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSchemaOutput ¶
type CreateSchemaOutput struct { Description *string `type:"string"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` SchemaArn *string `type:"string"` SchemaName *string `type:"string"` SchemaVersion *string `type:"string"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` Type *string `type:"string"` VersionCreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
func (CreateSchemaOutput) MarshalFields ¶
func (s CreateSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSchemaOutput) String ¶
func (s CreateSchemaOutput) String() string
String returns the string representation
type CreateSchemaRequest ¶
type CreateSchemaRequest struct { *aws.Request Input *CreateSchemaInput Copy func(*CreateSchemaInput) CreateSchemaRequest }
CreateSchemaRequest is the request type for the CreateSchema API operation.
func (CreateSchemaRequest) Send ¶
func (r CreateSchemaRequest) Send(ctx context.Context) (*CreateSchemaResponse, error)
Send marshals and sends the CreateSchema API request.
type CreateSchemaResponse ¶
type CreateSchemaResponse struct { *CreateSchemaOutput // contains filtered or unexported fields }
CreateSchemaResponse is the response type for the CreateSchema API operation.
func (*CreateSchemaResponse) SDKResponseMetdata ¶
func (r *CreateSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateSchema request.
type DeleteDiscovererInput ¶
type DeleteDiscovererInput struct { // DiscovererId is a required field DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteDiscovererInput) MarshalFields ¶
func (s DeleteDiscovererInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDiscovererInput) String ¶
func (s DeleteDiscovererInput) String() string
String returns the string representation
func (*DeleteDiscovererInput) Validate ¶
func (s *DeleteDiscovererInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDiscovererOutput ¶
type DeleteDiscovererOutput struct {
// contains filtered or unexported fields
}
func (DeleteDiscovererOutput) MarshalFields ¶
func (s DeleteDiscovererOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDiscovererOutput) String ¶
func (s DeleteDiscovererOutput) String() string
String returns the string representation
type DeleteDiscovererRequest ¶
type DeleteDiscovererRequest struct { *aws.Request Input *DeleteDiscovererInput Copy func(*DeleteDiscovererInput) DeleteDiscovererRequest }
DeleteDiscovererRequest is the request type for the DeleteDiscoverer API operation.
func (DeleteDiscovererRequest) Send ¶
func (r DeleteDiscovererRequest) Send(ctx context.Context) (*DeleteDiscovererResponse, error)
Send marshals and sends the DeleteDiscoverer API request.
type DeleteDiscovererResponse ¶
type DeleteDiscovererResponse struct { *DeleteDiscovererOutput // contains filtered or unexported fields }
DeleteDiscovererResponse is the response type for the DeleteDiscoverer API operation.
func (*DeleteDiscovererResponse) SDKResponseMetdata ¶
func (r *DeleteDiscovererResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteDiscoverer request.
type DeleteRegistryInput ¶
type DeleteRegistryInput struct { // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRegistryInput) MarshalFields ¶
func (s DeleteRegistryInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRegistryInput) String ¶
func (s DeleteRegistryInput) String() string
String returns the string representation
func (*DeleteRegistryInput) Validate ¶
func (s *DeleteRegistryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRegistryOutput ¶
type DeleteRegistryOutput struct {
// contains filtered or unexported fields
}
func (DeleteRegistryOutput) MarshalFields ¶
func (s DeleteRegistryOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRegistryOutput) String ¶
func (s DeleteRegistryOutput) String() string
String returns the string representation
type DeleteRegistryRequest ¶
type DeleteRegistryRequest struct { *aws.Request Input *DeleteRegistryInput Copy func(*DeleteRegistryInput) DeleteRegistryRequest }
DeleteRegistryRequest is the request type for the DeleteRegistry API operation.
func (DeleteRegistryRequest) Send ¶
func (r DeleteRegistryRequest) Send(ctx context.Context) (*DeleteRegistryResponse, error)
Send marshals and sends the DeleteRegistry API request.
type DeleteRegistryResponse ¶
type DeleteRegistryResponse struct { *DeleteRegistryOutput // contains filtered or unexported fields }
DeleteRegistryResponse is the response type for the DeleteRegistry API operation.
func (*DeleteRegistryResponse) SDKResponseMetdata ¶
func (r *DeleteRegistryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteRegistry request.
type DeleteResourcePolicyInput ¶
type DeleteResourcePolicyInput struct { RegistryName *string `location:"querystring" locationName:"registryName" type:"string"` // contains filtered or unexported fields }
func (DeleteResourcePolicyInput) MarshalFields ¶
func (s DeleteResourcePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResourcePolicyInput) String ¶
func (s DeleteResourcePolicyInput) String() string
String returns the string representation
type DeleteResourcePolicyOutput ¶
type DeleteResourcePolicyOutput struct {
// contains filtered or unexported fields
}
func (DeleteResourcePolicyOutput) MarshalFields ¶
func (s DeleteResourcePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResourcePolicyOutput) String ¶
func (s DeleteResourcePolicyOutput) String() string
String returns the string representation
type DeleteResourcePolicyRequest ¶
type DeleteResourcePolicyRequest struct { *aws.Request Input *DeleteResourcePolicyInput Copy func(*DeleteResourcePolicyInput) DeleteResourcePolicyRequest }
DeleteResourcePolicyRequest is the request type for the DeleteResourcePolicy API operation.
func (DeleteResourcePolicyRequest) Send ¶
func (r DeleteResourcePolicyRequest) Send(ctx context.Context) (*DeleteResourcePolicyResponse, error)
Send marshals and sends the DeleteResourcePolicy API request.
type DeleteResourcePolicyResponse ¶
type DeleteResourcePolicyResponse struct { *DeleteResourcePolicyOutput // contains filtered or unexported fields }
DeleteResourcePolicyResponse is the response type for the DeleteResourcePolicy API operation.
func (*DeleteResourcePolicyResponse) SDKResponseMetdata ¶
func (r *DeleteResourcePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteResourcePolicy request.
type DeleteSchemaInput ¶
type DeleteSchemaInput struct { // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteSchemaInput) MarshalFields ¶
func (s DeleteSchemaInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSchemaInput) String ¶
func (s DeleteSchemaInput) String() string
String returns the string representation
func (*DeleteSchemaInput) Validate ¶
func (s *DeleteSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSchemaOutput ¶
type DeleteSchemaOutput struct {
// contains filtered or unexported fields
}
func (DeleteSchemaOutput) MarshalFields ¶
func (s DeleteSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSchemaOutput) String ¶
func (s DeleteSchemaOutput) String() string
String returns the string representation
type DeleteSchemaRequest ¶
type DeleteSchemaRequest struct { *aws.Request Input *DeleteSchemaInput Copy func(*DeleteSchemaInput) DeleteSchemaRequest }
DeleteSchemaRequest is the request type for the DeleteSchema API operation.
func (DeleteSchemaRequest) Send ¶
func (r DeleteSchemaRequest) Send(ctx context.Context) (*DeleteSchemaResponse, error)
Send marshals and sends the DeleteSchema API request.
type DeleteSchemaResponse ¶
type DeleteSchemaResponse struct { *DeleteSchemaOutput // contains filtered or unexported fields }
DeleteSchemaResponse is the response type for the DeleteSchema API operation.
func (*DeleteSchemaResponse) SDKResponseMetdata ¶
func (r *DeleteSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSchema request.
type DeleteSchemaVersionInput ¶
type DeleteSchemaVersionInput struct { // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` // SchemaVersion is a required field SchemaVersion *string `location:"uri" locationName:"schemaVersion" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteSchemaVersionInput) MarshalFields ¶
func (s DeleteSchemaVersionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSchemaVersionInput) String ¶
func (s DeleteSchemaVersionInput) String() string
String returns the string representation
func (*DeleteSchemaVersionInput) Validate ¶
func (s *DeleteSchemaVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSchemaVersionOutput ¶
type DeleteSchemaVersionOutput struct {
// contains filtered or unexported fields
}
func (DeleteSchemaVersionOutput) MarshalFields ¶
func (s DeleteSchemaVersionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSchemaVersionOutput) String ¶
func (s DeleteSchemaVersionOutput) String() string
String returns the string representation
type DeleteSchemaVersionRequest ¶
type DeleteSchemaVersionRequest struct { *aws.Request Input *DeleteSchemaVersionInput Copy func(*DeleteSchemaVersionInput) DeleteSchemaVersionRequest }
DeleteSchemaVersionRequest is the request type for the DeleteSchemaVersion API operation.
func (DeleteSchemaVersionRequest) Send ¶
func (r DeleteSchemaVersionRequest) Send(ctx context.Context) (*DeleteSchemaVersionResponse, error)
Send marshals and sends the DeleteSchemaVersion API request.
type DeleteSchemaVersionResponse ¶
type DeleteSchemaVersionResponse struct { *DeleteSchemaVersionOutput // contains filtered or unexported fields }
DeleteSchemaVersionResponse is the response type for the DeleteSchemaVersion API operation.
func (*DeleteSchemaVersionResponse) SDKResponseMetdata ¶
func (r *DeleteSchemaVersionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteSchemaVersion request.
type DescribeCodeBindingInput ¶
type DescribeCodeBindingInput struct { // Language is a required field Language *string `location:"uri" locationName:"language" type:"string" required:"true"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"` // contains filtered or unexported fields }
func (DescribeCodeBindingInput) MarshalFields ¶
func (s DescribeCodeBindingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeCodeBindingInput) String ¶
func (s DescribeCodeBindingInput) String() string
String returns the string representation
func (*DescribeCodeBindingInput) Validate ¶
func (s *DescribeCodeBindingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCodeBindingOutput ¶
type DescribeCodeBindingOutput struct { CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` SchemaVersion *string `type:"string"` Status CodeGenerationStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
func (DescribeCodeBindingOutput) MarshalFields ¶
func (s DescribeCodeBindingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeCodeBindingOutput) String ¶
func (s DescribeCodeBindingOutput) String() string
String returns the string representation
type DescribeCodeBindingRequest ¶
type DescribeCodeBindingRequest struct { *aws.Request Input *DescribeCodeBindingInput Copy func(*DescribeCodeBindingInput) DescribeCodeBindingRequest }
DescribeCodeBindingRequest is the request type for the DescribeCodeBinding API operation.
func (DescribeCodeBindingRequest) Send ¶
func (r DescribeCodeBindingRequest) Send(ctx context.Context) (*DescribeCodeBindingResponse, error)
Send marshals and sends the DescribeCodeBinding API request.
type DescribeCodeBindingResponse ¶
type DescribeCodeBindingResponse struct { *DescribeCodeBindingOutput // contains filtered or unexported fields }
DescribeCodeBindingResponse is the response type for the DescribeCodeBinding API operation.
func (*DescribeCodeBindingResponse) SDKResponseMetdata ¶
func (r *DescribeCodeBindingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeCodeBinding request.
type DescribeDiscovererInput ¶
type DescribeDiscovererInput struct { // DiscovererId is a required field DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeDiscovererInput) MarshalFields ¶
func (s DescribeDiscovererInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeDiscovererInput) String ¶
func (s DescribeDiscovererInput) String() string
String returns the string representation
func (*DescribeDiscovererInput) Validate ¶
func (s *DescribeDiscovererInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDiscovererOutput ¶
type DescribeDiscovererOutput struct { Description *string `type:"string"` DiscovererArn *string `type:"string"` DiscovererId *string `type:"string"` SourceArn *string `type:"string"` State DiscovererState `type:"string" enum:"true"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (DescribeDiscovererOutput) MarshalFields ¶
func (s DescribeDiscovererOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeDiscovererOutput) String ¶
func (s DescribeDiscovererOutput) String() string
String returns the string representation
type DescribeDiscovererRequest ¶
type DescribeDiscovererRequest struct { *aws.Request Input *DescribeDiscovererInput Copy func(*DescribeDiscovererInput) DescribeDiscovererRequest }
DescribeDiscovererRequest is the request type for the DescribeDiscoverer API operation.
func (DescribeDiscovererRequest) Send ¶
func (r DescribeDiscovererRequest) Send(ctx context.Context) (*DescribeDiscovererResponse, error)
Send marshals and sends the DescribeDiscoverer API request.
type DescribeDiscovererResponse ¶
type DescribeDiscovererResponse struct { *DescribeDiscovererOutput // contains filtered or unexported fields }
DescribeDiscovererResponse is the response type for the DescribeDiscoverer API operation.
func (*DescribeDiscovererResponse) SDKResponseMetdata ¶
func (r *DescribeDiscovererResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeDiscoverer request.
type DescribeRegistryInput ¶
type DescribeRegistryInput struct { // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRegistryInput) MarshalFields ¶
func (s DescribeRegistryInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRegistryInput) String ¶
func (s DescribeRegistryInput) String() string
String returns the string representation
func (*DescribeRegistryInput) Validate ¶
func (s *DescribeRegistryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRegistryOutput ¶
type DescribeRegistryOutput struct { Description *string `type:"string"` RegistryArn *string `type:"string"` RegistryName *string `type:"string"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (DescribeRegistryOutput) MarshalFields ¶
func (s DescribeRegistryOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRegistryOutput) String ¶
func (s DescribeRegistryOutput) String() string
String returns the string representation
type DescribeRegistryRequest ¶
type DescribeRegistryRequest struct { *aws.Request Input *DescribeRegistryInput Copy func(*DescribeRegistryInput) DescribeRegistryRequest }
DescribeRegistryRequest is the request type for the DescribeRegistry API operation.
func (DescribeRegistryRequest) Send ¶
func (r DescribeRegistryRequest) Send(ctx context.Context) (*DescribeRegistryResponse, error)
Send marshals and sends the DescribeRegistry API request.
type DescribeRegistryResponse ¶
type DescribeRegistryResponse struct { *DescribeRegistryOutput // contains filtered or unexported fields }
DescribeRegistryResponse is the response type for the DescribeRegistry API operation.
func (*DescribeRegistryResponse) SDKResponseMetdata ¶
func (r *DescribeRegistryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeRegistry request.
type DescribeSchemaInput ¶
type DescribeSchemaInput struct { // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"` // contains filtered or unexported fields }
func (DescribeSchemaInput) MarshalFields ¶
func (s DescribeSchemaInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeSchemaInput) String ¶
func (s DescribeSchemaInput) String() string
String returns the string representation
func (*DescribeSchemaInput) Validate ¶
func (s *DescribeSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSchemaOutput ¶
type DescribeSchemaOutput struct { Content *string `type:"string"` Description *string `type:"string"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` SchemaArn *string `type:"string"` SchemaName *string `type:"string"` SchemaVersion *string `type:"string"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` Type *string `type:"string"` VersionCreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
func (DescribeSchemaOutput) MarshalFields ¶
func (s DescribeSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeSchemaOutput) String ¶
func (s DescribeSchemaOutput) String() string
String returns the string representation
type DescribeSchemaRequest ¶
type DescribeSchemaRequest struct { *aws.Request Input *DescribeSchemaInput Copy func(*DescribeSchemaInput) DescribeSchemaRequest }
DescribeSchemaRequest is the request type for the DescribeSchema API operation.
func (DescribeSchemaRequest) Send ¶
func (r DescribeSchemaRequest) Send(ctx context.Context) (*DescribeSchemaResponse, error)
Send marshals and sends the DescribeSchema API request.
type DescribeSchemaResponse ¶
type DescribeSchemaResponse struct { *DescribeSchemaOutput // contains filtered or unexported fields }
DescribeSchemaResponse is the response type for the DescribeSchema API operation.
func (*DescribeSchemaResponse) SDKResponseMetdata ¶
func (r *DescribeSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DescribeSchema request.
type DiscovererState ¶
type DiscovererState string
const ( DiscovererStateStarted DiscovererState = "STARTED" DiscovererStateStopped DiscovererState = "STOPPED" )
Enum values for DiscovererState
func (DiscovererState) MarshalValue ¶
func (enum DiscovererState) MarshalValue() (string, error)
func (DiscovererState) MarshalValueBuf ¶
func (enum DiscovererState) MarshalValueBuf(b []byte) ([]byte, error)
type DiscovererSummary ¶
type DiscovererSummary struct { // The ARN of the discoverer. DiscovererArn *string `type:"string"` // The ID of the discoverer. DiscovererId *string `type:"string"` // The ARN of the event bus. SourceArn *string `type:"string"` // The state of the discoverer. State DiscovererState `type:"string" enum:"true"` // Tags associated with the resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (DiscovererSummary) MarshalFields ¶
func (s DiscovererSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DiscovererSummary) String ¶
func (s DiscovererSummary) String() string
String returns the string representation
type GetCodeBindingSourceInput ¶
type GetCodeBindingSourceInput struct { // Language is a required field Language *string `location:"uri" locationName:"language" type:"string" required:"true"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"` // contains filtered or unexported fields }
func (GetCodeBindingSourceInput) MarshalFields ¶
func (s GetCodeBindingSourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCodeBindingSourceInput) String ¶
func (s GetCodeBindingSourceInput) String() string
String returns the string representation
func (*GetCodeBindingSourceInput) Validate ¶
func (s *GetCodeBindingSourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCodeBindingSourceOutput ¶
type GetCodeBindingSourceOutput struct { Body []byte `type:"blob"` // contains filtered or unexported fields }
func (GetCodeBindingSourceOutput) MarshalFields ¶
func (s GetCodeBindingSourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetCodeBindingSourceOutput) String ¶
func (s GetCodeBindingSourceOutput) String() string
String returns the string representation
type GetCodeBindingSourceRequest ¶
type GetCodeBindingSourceRequest struct { *aws.Request Input *GetCodeBindingSourceInput Copy func(*GetCodeBindingSourceInput) GetCodeBindingSourceRequest }
GetCodeBindingSourceRequest is the request type for the GetCodeBindingSource API operation.
func (GetCodeBindingSourceRequest) Send ¶
func (r GetCodeBindingSourceRequest) Send(ctx context.Context) (*GetCodeBindingSourceResponse, error)
Send marshals and sends the GetCodeBindingSource API request.
type GetCodeBindingSourceResponse ¶
type GetCodeBindingSourceResponse struct { *GetCodeBindingSourceOutput // contains filtered or unexported fields }
GetCodeBindingSourceResponse is the response type for the GetCodeBindingSource API operation.
func (*GetCodeBindingSourceResponse) SDKResponseMetdata ¶
func (r *GetCodeBindingSourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetCodeBindingSource request.
type GetDiscoveredSchemaInput ¶
type GetDiscoveredSchemaInput struct { // Events is a required field Events []string `min:"1" type:"list" required:"true"` // Type is a required field Type Type `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (GetDiscoveredSchemaInput) MarshalFields ¶
func (s GetDiscoveredSchemaInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDiscoveredSchemaInput) String ¶
func (s GetDiscoveredSchemaInput) String() string
String returns the string representation
func (*GetDiscoveredSchemaInput) Validate ¶
func (s *GetDiscoveredSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetDiscoveredSchemaOutput ¶
type GetDiscoveredSchemaOutput struct { Content *string `type:"string"` // contains filtered or unexported fields }
func (GetDiscoveredSchemaOutput) MarshalFields ¶
func (s GetDiscoveredSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetDiscoveredSchemaOutput) String ¶
func (s GetDiscoveredSchemaOutput) String() string
String returns the string representation
type GetDiscoveredSchemaRequest ¶
type GetDiscoveredSchemaRequest struct { *aws.Request Input *GetDiscoveredSchemaInput Copy func(*GetDiscoveredSchemaInput) GetDiscoveredSchemaRequest }
GetDiscoveredSchemaRequest is the request type for the GetDiscoveredSchema API operation.
func (GetDiscoveredSchemaRequest) Send ¶
func (r GetDiscoveredSchemaRequest) Send(ctx context.Context) (*GetDiscoveredSchemaResponse, error)
Send marshals and sends the GetDiscoveredSchema API request.
type GetDiscoveredSchemaResponse ¶
type GetDiscoveredSchemaResponse struct { *GetDiscoveredSchemaOutput // contains filtered or unexported fields }
GetDiscoveredSchemaResponse is the response type for the GetDiscoveredSchema API operation.
func (*GetDiscoveredSchemaResponse) SDKResponseMetdata ¶
func (r *GetDiscoveredSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetDiscoveredSchema request.
type GetResourcePolicyInput ¶
type GetResourcePolicyInput struct { RegistryName *string `location:"querystring" locationName:"registryName" type:"string"` // contains filtered or unexported fields }
func (GetResourcePolicyInput) MarshalFields ¶
func (s GetResourcePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourcePolicyInput) String ¶
func (s GetResourcePolicyInput) String() string
String returns the string representation
type GetResourcePolicyOutput ¶
type GetResourcePolicyOutput struct { Policy aws.JSONValue `type:"jsonvalue"` RevisionId *string `type:"string"` // contains filtered or unexported fields }
func (GetResourcePolicyOutput) MarshalFields ¶
func (s GetResourcePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourcePolicyOutput) String ¶
func (s GetResourcePolicyOutput) String() string
String returns the string representation
type GetResourcePolicyRequest ¶
type GetResourcePolicyRequest struct { *aws.Request Input *GetResourcePolicyInput Copy func(*GetResourcePolicyInput) GetResourcePolicyRequest }
GetResourcePolicyRequest is the request type for the GetResourcePolicy API operation.
func (GetResourcePolicyRequest) Send ¶
func (r GetResourcePolicyRequest) Send(ctx context.Context) (*GetResourcePolicyResponse, error)
Send marshals and sends the GetResourcePolicy API request.
type GetResourcePolicyResponse ¶
type GetResourcePolicyResponse struct { *GetResourcePolicyOutput // contains filtered or unexported fields }
GetResourcePolicyResponse is the response type for the GetResourcePolicy API operation.
func (*GetResourcePolicyResponse) SDKResponseMetdata ¶
func (r *GetResourcePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResourcePolicy request.
type ListDiscoverersInput ¶
type ListDiscoverersInput struct { DiscovererIdPrefix *string `location:"querystring" locationName:"discovererIdPrefix" type:"string"` Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` SourceArnPrefix *string `location:"querystring" locationName:"sourceArnPrefix" type:"string"` // contains filtered or unexported fields }
func (ListDiscoverersInput) MarshalFields ¶
func (s ListDiscoverersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDiscoverersInput) String ¶
func (s ListDiscoverersInput) String() string
String returns the string representation
type ListDiscoverersOutput ¶
type ListDiscoverersOutput struct { Discoverers []DiscovererSummary `type:"list"` NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListDiscoverersOutput) MarshalFields ¶
func (s ListDiscoverersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDiscoverersOutput) String ¶
func (s ListDiscoverersOutput) String() string
String returns the string representation
type ListDiscoverersPaginator ¶
ListDiscoverersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListDiscoverersPaginator ¶
func NewListDiscoverersPaginator(req ListDiscoverersRequest) ListDiscoverersPaginator
NewListDiscoverersRequestPaginator returns a paginator for ListDiscoverers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListDiscoverersRequest(input) p := schemas.NewListDiscoverersRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListDiscoverersPaginator) CurrentPage ¶
func (p *ListDiscoverersPaginator) CurrentPage() *ListDiscoverersOutput
type ListDiscoverersRequest ¶
type ListDiscoverersRequest struct { *aws.Request Input *ListDiscoverersInput Copy func(*ListDiscoverersInput) ListDiscoverersRequest }
ListDiscoverersRequest is the request type for the ListDiscoverers API operation.
func (ListDiscoverersRequest) Send ¶
func (r ListDiscoverersRequest) Send(ctx context.Context) (*ListDiscoverersResponse, error)
Send marshals and sends the ListDiscoverers API request.
type ListDiscoverersResponse ¶
type ListDiscoverersResponse struct { *ListDiscoverersOutput // contains filtered or unexported fields }
ListDiscoverersResponse is the response type for the ListDiscoverers API operation.
func (*ListDiscoverersResponse) SDKResponseMetdata ¶
func (r *ListDiscoverersResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListDiscoverers request.
type ListRegistriesInput ¶
type ListRegistriesInput struct { Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` RegistryNamePrefix *string `location:"querystring" locationName:"registryNamePrefix" type:"string"` Scope *string `location:"querystring" locationName:"scope" type:"string"` // contains filtered or unexported fields }
func (ListRegistriesInput) MarshalFields ¶
func (s ListRegistriesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRegistriesInput) String ¶
func (s ListRegistriesInput) String() string
String returns the string representation
type ListRegistriesOutput ¶
type ListRegistriesOutput struct { NextToken *string `type:"string"` Registries []RegistrySummary `type:"list"` // contains filtered or unexported fields }
func (ListRegistriesOutput) MarshalFields ¶
func (s ListRegistriesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRegistriesOutput) String ¶
func (s ListRegistriesOutput) String() string
String returns the string representation
type ListRegistriesPaginator ¶
ListRegistriesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListRegistriesPaginator ¶
func NewListRegistriesPaginator(req ListRegistriesRequest) ListRegistriesPaginator
NewListRegistriesRequestPaginator returns a paginator for ListRegistries. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListRegistriesRequest(input) p := schemas.NewListRegistriesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListRegistriesPaginator) CurrentPage ¶
func (p *ListRegistriesPaginator) CurrentPage() *ListRegistriesOutput
type ListRegistriesRequest ¶
type ListRegistriesRequest struct { *aws.Request Input *ListRegistriesInput Copy func(*ListRegistriesInput) ListRegistriesRequest }
ListRegistriesRequest is the request type for the ListRegistries API operation.
func (ListRegistriesRequest) Send ¶
func (r ListRegistriesRequest) Send(ctx context.Context) (*ListRegistriesResponse, error)
Send marshals and sends the ListRegistries API request.
type ListRegistriesResponse ¶
type ListRegistriesResponse struct { *ListRegistriesOutput // contains filtered or unexported fields }
ListRegistriesResponse is the response type for the ListRegistries API operation.
func (*ListRegistriesResponse) SDKResponseMetdata ¶
func (r *ListRegistriesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListRegistries request.
type ListSchemaVersionsInput ¶
type ListSchemaVersionsInput struct { Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListSchemaVersionsInput) MarshalFields ¶
func (s ListSchemaVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSchemaVersionsInput) String ¶
func (s ListSchemaVersionsInput) String() string
String returns the string representation
func (*ListSchemaVersionsInput) Validate ¶
func (s *ListSchemaVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSchemaVersionsOutput ¶
type ListSchemaVersionsOutput struct { NextToken *string `type:"string"` SchemaVersions []SchemaVersionSummary `type:"list"` // contains filtered or unexported fields }
func (ListSchemaVersionsOutput) MarshalFields ¶
func (s ListSchemaVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSchemaVersionsOutput) String ¶
func (s ListSchemaVersionsOutput) String() string
String returns the string representation
type ListSchemaVersionsPaginator ¶
ListSchemaVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListSchemaVersionsPaginator ¶
func NewListSchemaVersionsPaginator(req ListSchemaVersionsRequest) ListSchemaVersionsPaginator
NewListSchemaVersionsRequestPaginator returns a paginator for ListSchemaVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListSchemaVersionsRequest(input) p := schemas.NewListSchemaVersionsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListSchemaVersionsPaginator) CurrentPage ¶
func (p *ListSchemaVersionsPaginator) CurrentPage() *ListSchemaVersionsOutput
type ListSchemaVersionsRequest ¶
type ListSchemaVersionsRequest struct { *aws.Request Input *ListSchemaVersionsInput Copy func(*ListSchemaVersionsInput) ListSchemaVersionsRequest }
ListSchemaVersionsRequest is the request type for the ListSchemaVersions API operation.
func (ListSchemaVersionsRequest) Send ¶
func (r ListSchemaVersionsRequest) Send(ctx context.Context) (*ListSchemaVersionsResponse, error)
Send marshals and sends the ListSchemaVersions API request.
type ListSchemaVersionsResponse ¶
type ListSchemaVersionsResponse struct { *ListSchemaVersionsOutput // contains filtered or unexported fields }
ListSchemaVersionsResponse is the response type for the ListSchemaVersions API operation.
func (*ListSchemaVersionsResponse) SDKResponseMetdata ¶
func (r *ListSchemaVersionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListSchemaVersions request.
type ListSchemasInput ¶
type ListSchemasInput struct { Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` SchemaNamePrefix *string `location:"querystring" locationName:"schemaNamePrefix" type:"string"` // contains filtered or unexported fields }
func (ListSchemasInput) MarshalFields ¶
func (s ListSchemasInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSchemasInput) String ¶
func (s ListSchemasInput) String() string
String returns the string representation
func (*ListSchemasInput) Validate ¶
func (s *ListSchemasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSchemasOutput ¶
type ListSchemasOutput struct { NextToken *string `type:"string"` Schemas []SchemaSummary `type:"list"` // contains filtered or unexported fields }
func (ListSchemasOutput) MarshalFields ¶
func (s ListSchemasOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSchemasOutput) String ¶
func (s ListSchemasOutput) String() string
String returns the string representation
type ListSchemasPaginator ¶
ListSchemasPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListSchemasPaginator ¶
func NewListSchemasPaginator(req ListSchemasRequest) ListSchemasPaginator
NewListSchemasRequestPaginator returns a paginator for ListSchemas. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListSchemasRequest(input) p := schemas.NewListSchemasRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListSchemasPaginator) CurrentPage ¶
func (p *ListSchemasPaginator) CurrentPage() *ListSchemasOutput
type ListSchemasRequest ¶
type ListSchemasRequest struct { *aws.Request Input *ListSchemasInput Copy func(*ListSchemasInput) ListSchemasRequest }
ListSchemasRequest is the request type for the ListSchemas API operation.
func (ListSchemasRequest) Send ¶
func (r ListSchemasRequest) Send(ctx context.Context) (*ListSchemasResponse, error)
Send marshals and sends the ListSchemas API request.
type ListSchemasResponse ¶
type ListSchemasResponse struct { *ListSchemasOutput // contains filtered or unexported fields }
ListSchemasResponse is the response type for the ListSchemas API operation.
func (*ListSchemasResponse) SDKResponseMetdata ¶
func (r *ListSchemasResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListSchemas request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) MarshalFields ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) MarshalFields ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
Send marshals and sends the ListTagsForResource API request.
type ListTagsForResourceResponse ¶
type ListTagsForResourceResponse struct { *ListTagsForResourceOutput // contains filtered or unexported fields }
ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.
func (*ListTagsForResourceResponse) SDKResponseMetdata ¶
func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListTagsForResource request.
type LockServiceLinkedRoleInput ¶
type LockServiceLinkedRoleInput struct { // RoleArn is a required field RoleArn *string `min:"1" type:"string" required:"true"` // Timeout is a required field Timeout *int64 `min:"1" type:"integer" required:"true"` // contains filtered or unexported fields }
func (LockServiceLinkedRoleInput) MarshalFields ¶
func (s LockServiceLinkedRoleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LockServiceLinkedRoleInput) String ¶
func (s LockServiceLinkedRoleInput) String() string
String returns the string representation
func (*LockServiceLinkedRoleInput) Validate ¶
func (s *LockServiceLinkedRoleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LockServiceLinkedRoleOutput ¶
type LockServiceLinkedRoleOutput struct { CanBeDeleted *bool `type:"boolean"` ReasonOfFailure *string `min:"1" type:"string"` RelatedResources []DiscovererSummary `type:"list"` // contains filtered or unexported fields }
func (LockServiceLinkedRoleOutput) MarshalFields ¶
func (s LockServiceLinkedRoleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LockServiceLinkedRoleOutput) String ¶
func (s LockServiceLinkedRoleOutput) String() string
String returns the string representation
type LockServiceLinkedRoleRequest ¶
type LockServiceLinkedRoleRequest struct { *aws.Request Input *LockServiceLinkedRoleInput Copy func(*LockServiceLinkedRoleInput) LockServiceLinkedRoleRequest }
LockServiceLinkedRoleRequest is the request type for the LockServiceLinkedRole API operation.
func (LockServiceLinkedRoleRequest) Send ¶
func (r LockServiceLinkedRoleRequest) Send(ctx context.Context) (*LockServiceLinkedRoleResponse, error)
Send marshals and sends the LockServiceLinkedRole API request.
type LockServiceLinkedRoleResponse ¶
type LockServiceLinkedRoleResponse struct { *LockServiceLinkedRoleOutput // contains filtered or unexported fields }
LockServiceLinkedRoleResponse is the response type for the LockServiceLinkedRole API operation.
func (*LockServiceLinkedRoleResponse) SDKResponseMetdata ¶
func (r *LockServiceLinkedRoleResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the LockServiceLinkedRole request.
type PutCodeBindingInput ¶
type PutCodeBindingInput struct { // Language is a required field Language *string `location:"uri" locationName:"language" type:"string" required:"true"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` SchemaVersion *string `location:"querystring" locationName:"schemaVersion" type:"string"` // contains filtered or unexported fields }
func (PutCodeBindingInput) MarshalFields ¶
func (s PutCodeBindingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutCodeBindingInput) String ¶
func (s PutCodeBindingInput) String() string
String returns the string representation
func (*PutCodeBindingInput) Validate ¶
func (s *PutCodeBindingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutCodeBindingOutput ¶
type PutCodeBindingOutput struct { CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` SchemaVersion *string `type:"string"` Status CodeGenerationStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
func (PutCodeBindingOutput) MarshalFields ¶
func (s PutCodeBindingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutCodeBindingOutput) String ¶
func (s PutCodeBindingOutput) String() string
String returns the string representation
type PutCodeBindingRequest ¶
type PutCodeBindingRequest struct { *aws.Request Input *PutCodeBindingInput Copy func(*PutCodeBindingInput) PutCodeBindingRequest }
PutCodeBindingRequest is the request type for the PutCodeBinding API operation.
func (PutCodeBindingRequest) Send ¶
func (r PutCodeBindingRequest) Send(ctx context.Context) (*PutCodeBindingResponse, error)
Send marshals and sends the PutCodeBinding API request.
type PutCodeBindingResponse ¶
type PutCodeBindingResponse struct { *PutCodeBindingOutput // contains filtered or unexported fields }
PutCodeBindingResponse is the response type for the PutCodeBinding API operation.
func (*PutCodeBindingResponse) SDKResponseMetdata ¶
func (r *PutCodeBindingResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutCodeBinding request.
type PutResourcePolicyInput ¶
type PutResourcePolicyInput struct { // Policy is a required field Policy aws.JSONValue `type:"jsonvalue" required:"true"` RegistryName *string `location:"querystring" locationName:"registryName" type:"string"` RevisionId *string `type:"string"` // contains filtered or unexported fields }
func (PutResourcePolicyInput) MarshalFields ¶
func (s PutResourcePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutResourcePolicyInput) String ¶
func (s PutResourcePolicyInput) String() string
String returns the string representation
func (*PutResourcePolicyInput) Validate ¶
func (s *PutResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutResourcePolicyOutput ¶
type PutResourcePolicyOutput struct { Policy aws.JSONValue `type:"jsonvalue"` RevisionId *string `type:"string"` // contains filtered or unexported fields }
func (PutResourcePolicyOutput) MarshalFields ¶
func (s PutResourcePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutResourcePolicyOutput) String ¶
func (s PutResourcePolicyOutput) String() string
String returns the string representation
type PutResourcePolicyRequest ¶
type PutResourcePolicyRequest struct { *aws.Request Input *PutResourcePolicyInput Copy func(*PutResourcePolicyInput) PutResourcePolicyRequest }
PutResourcePolicyRequest is the request type for the PutResourcePolicy API operation.
func (PutResourcePolicyRequest) Send ¶
func (r PutResourcePolicyRequest) Send(ctx context.Context) (*PutResourcePolicyResponse, error)
Send marshals and sends the PutResourcePolicy API request.
type PutResourcePolicyResponse ¶
type PutResourcePolicyResponse struct { *PutResourcePolicyOutput // contains filtered or unexported fields }
PutResourcePolicyResponse is the response type for the PutResourcePolicy API operation.
func (*PutResourcePolicyResponse) SDKResponseMetdata ¶
func (r *PutResourcePolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PutResourcePolicy request.
type RegistrySummary ¶
type RegistrySummary struct { // The ARN of the registry. RegistryArn *string `type:"string"` // The name of the registry. RegistryName *string `type:"string"` // Tags associated with the registry. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (RegistrySummary) MarshalFields ¶
func (s RegistrySummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegistrySummary) String ¶
func (s RegistrySummary) String() string
String returns the string representation
type SchemaSummary ¶
type SchemaSummary struct { // The date and time that schema was modified. LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The ARN of the schema. SchemaArn *string `type:"string"` // The name of the schema. SchemaName *string `type:"string"` // Tags associated with the schema. Tags map[string]string `locationName:"tags" type:"map"` // The number of versions available for the schema. VersionCount *int64 `type:"long"` // contains filtered or unexported fields }
A summary of schema details.
func (SchemaSummary) MarshalFields ¶
func (s SchemaSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SchemaSummary) String ¶
func (s SchemaSummary) String() string
String returns the string representation
type SchemaVersionSummary ¶
type SchemaVersionSummary struct { // The ARN of the schema version. SchemaArn *string `type:"string"` // The name of the schema. SchemaName *string `type:"string"` // The version number of the schema. SchemaVersion *string `type:"string"` // contains filtered or unexported fields }
func (SchemaVersionSummary) MarshalFields ¶
func (s SchemaVersionSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SchemaVersionSummary) String ¶
func (s SchemaVersionSummary) String() string
String returns the string representation
type SearchSchemaSummary ¶
type SearchSchemaSummary struct { // The name of the registry. RegistryName *string `type:"string"` // The ARN of the schema. SchemaArn *string `type:"string"` // The name of the schema. SchemaName *string `type:"string"` // An array of schema version summaries. SchemaVersions []SearchSchemaVersionSummary `type:"list"` // contains filtered or unexported fields }
func (SearchSchemaSummary) MarshalFields ¶
func (s SearchSchemaSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SearchSchemaSummary) String ¶
func (s SearchSchemaSummary) String() string
String returns the string representation
type SearchSchemaVersionSummary ¶
type SearchSchemaVersionSummary struct { // The date the schema version was created. CreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The version number of the schema SchemaVersion *string `type:"string"` // contains filtered or unexported fields }
func (SearchSchemaVersionSummary) MarshalFields ¶
func (s SearchSchemaVersionSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SearchSchemaVersionSummary) String ¶
func (s SearchSchemaVersionSummary) String() string
String returns the string representation
type SearchSchemasInput ¶
type SearchSchemasInput struct { // Keywords is a required field Keywords *string `location:"querystring" locationName:"keywords" type:"string" required:"true"` Limit *int64 `location:"querystring" locationName:"limit" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // contains filtered or unexported fields }
func (SearchSchemasInput) MarshalFields ¶
func (s SearchSchemasInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SearchSchemasInput) String ¶
func (s SearchSchemasInput) String() string
String returns the string representation
func (*SearchSchemasInput) Validate ¶
func (s *SearchSchemasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchSchemasOutput ¶
type SearchSchemasOutput struct { NextToken *string `type:"string"` Schemas []SearchSchemaSummary `type:"list"` // contains filtered or unexported fields }
func (SearchSchemasOutput) MarshalFields ¶
func (s SearchSchemasOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SearchSchemasOutput) String ¶
func (s SearchSchemasOutput) String() string
String returns the string representation
type SearchSchemasPaginator ¶
SearchSchemasPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewSearchSchemasPaginator ¶
func NewSearchSchemasPaginator(req SearchSchemasRequest) SearchSchemasPaginator
NewSearchSchemasRequestPaginator returns a paginator for SearchSchemas. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.SearchSchemasRequest(input) p := schemas.NewSearchSchemasRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*SearchSchemasPaginator) CurrentPage ¶
func (p *SearchSchemasPaginator) CurrentPage() *SearchSchemasOutput
type SearchSchemasRequest ¶
type SearchSchemasRequest struct { *aws.Request Input *SearchSchemasInput Copy func(*SearchSchemasInput) SearchSchemasRequest }
SearchSchemasRequest is the request type for the SearchSchemas API operation.
func (SearchSchemasRequest) Send ¶
func (r SearchSchemasRequest) Send(ctx context.Context) (*SearchSchemasResponse, error)
Send marshals and sends the SearchSchemas API request.
type SearchSchemasResponse ¶
type SearchSchemasResponse struct { *SearchSchemasOutput // contains filtered or unexported fields }
SearchSchemasResponse is the response type for the SearchSchemas API operation.
func (*SearchSchemasResponse) SDKResponseMetdata ¶
func (r *SearchSchemasResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the SearchSchemas request.
type StartDiscovererInput ¶
type StartDiscovererInput struct { // DiscovererId is a required field DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartDiscovererInput) MarshalFields ¶
func (s StartDiscovererInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartDiscovererInput) String ¶
func (s StartDiscovererInput) String() string
String returns the string representation
func (*StartDiscovererInput) Validate ¶
func (s *StartDiscovererInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDiscovererOutput ¶
type StartDiscovererOutput struct { DiscovererId *string `type:"string"` State DiscovererState `type:"string" enum:"true"` // contains filtered or unexported fields }
func (StartDiscovererOutput) MarshalFields ¶
func (s StartDiscovererOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartDiscovererOutput) String ¶
func (s StartDiscovererOutput) String() string
String returns the string representation
type StartDiscovererRequest ¶
type StartDiscovererRequest struct { *aws.Request Input *StartDiscovererInput Copy func(*StartDiscovererInput) StartDiscovererRequest }
StartDiscovererRequest is the request type for the StartDiscoverer API operation.
func (StartDiscovererRequest) Send ¶
func (r StartDiscovererRequest) Send(ctx context.Context) (*StartDiscovererResponse, error)
Send marshals and sends the StartDiscoverer API request.
type StartDiscovererResponse ¶
type StartDiscovererResponse struct { *StartDiscovererOutput // contains filtered or unexported fields }
StartDiscovererResponse is the response type for the StartDiscoverer API operation.
func (*StartDiscovererResponse) SDKResponseMetdata ¶
func (r *StartDiscovererResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StartDiscoverer request.
type StopDiscovererInput ¶
type StopDiscovererInput struct { // DiscovererId is a required field DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopDiscovererInput) MarshalFields ¶
func (s StopDiscovererInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopDiscovererInput) String ¶
func (s StopDiscovererInput) String() string
String returns the string representation
func (*StopDiscovererInput) Validate ¶
func (s *StopDiscovererInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopDiscovererOutput ¶
type StopDiscovererOutput struct { DiscovererId *string `type:"string"` State DiscovererState `type:"string" enum:"true"` // contains filtered or unexported fields }
func (StopDiscovererOutput) MarshalFields ¶
func (s StopDiscovererOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopDiscovererOutput) String ¶
func (s StopDiscovererOutput) String() string
String returns the string representation
type StopDiscovererRequest ¶
type StopDiscovererRequest struct { *aws.Request Input *StopDiscovererInput Copy func(*StopDiscovererInput) StopDiscovererRequest }
StopDiscovererRequest is the request type for the StopDiscoverer API operation.
func (StopDiscovererRequest) Send ¶
func (r StopDiscovererRequest) Send(ctx context.Context) (*StopDiscovererResponse, error)
Send marshals and sends the StopDiscoverer API request.
type StopDiscovererResponse ¶
type StopDiscovererResponse struct { *StopDiscovererOutput // contains filtered or unexported fields }
StopDiscovererResponse is the response type for the StopDiscoverer API operation.
func (*StopDiscovererResponse) SDKResponseMetdata ¶
func (r *StopDiscovererResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the StopDiscoverer request.
type TagResourceInput ¶
type TagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` // Key-value pairs associated with a resource. // // Tags is a required field Tags map[string]string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type Type ¶
type Type string
const (
TypeOpenApi3 Type = "OpenApi3"
)
Enum values for Type
func (Type) MarshalValue ¶
type UnlockServiceLinkedRoleInput ¶
type UnlockServiceLinkedRoleInput struct { // RoleArn is a required field RoleArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UnlockServiceLinkedRoleInput) MarshalFields ¶
func (s UnlockServiceLinkedRoleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UnlockServiceLinkedRoleInput) String ¶
func (s UnlockServiceLinkedRoleInput) String() string
String returns the string representation
func (*UnlockServiceLinkedRoleInput) Validate ¶
func (s *UnlockServiceLinkedRoleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UnlockServiceLinkedRoleOutput ¶
type UnlockServiceLinkedRoleOutput struct {
// contains filtered or unexported fields
}
func (UnlockServiceLinkedRoleOutput) MarshalFields ¶
func (s UnlockServiceLinkedRoleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UnlockServiceLinkedRoleOutput) String ¶
func (s UnlockServiceLinkedRoleOutput) String() string
String returns the string representation
type UnlockServiceLinkedRoleRequest ¶
type UnlockServiceLinkedRoleRequest struct { *aws.Request Input *UnlockServiceLinkedRoleInput Copy func(*UnlockServiceLinkedRoleInput) UnlockServiceLinkedRoleRequest }
UnlockServiceLinkedRoleRequest is the request type for the UnlockServiceLinkedRole API operation.
func (UnlockServiceLinkedRoleRequest) Send ¶
func (r UnlockServiceLinkedRoleRequest) Send(ctx context.Context) (*UnlockServiceLinkedRoleResponse, error)
Send marshals and sends the UnlockServiceLinkedRole API request.
type UnlockServiceLinkedRoleResponse ¶
type UnlockServiceLinkedRoleResponse struct { *UnlockServiceLinkedRoleOutput // contains filtered or unexported fields }
UnlockServiceLinkedRoleResponse is the response type for the UnlockServiceLinkedRole API operation.
func (*UnlockServiceLinkedRoleResponse) SDKResponseMetdata ¶
func (r *UnlockServiceLinkedRoleResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UnlockServiceLinkedRole request.
type UntagResourceInput ¶
type UntagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"` // TagKeys is a required field TagKeys []string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateDiscovererInput ¶
type UpdateDiscovererInput struct { Description *string `type:"string"` // DiscovererId is a required field DiscovererId *string `location:"uri" locationName:"discovererId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateDiscovererInput) MarshalFields ¶
func (s UpdateDiscovererInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDiscovererInput) String ¶
func (s UpdateDiscovererInput) String() string
String returns the string representation
func (*UpdateDiscovererInput) Validate ¶
func (s *UpdateDiscovererInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDiscovererOutput ¶
type UpdateDiscovererOutput struct { Description *string `type:"string"` DiscovererArn *string `type:"string"` DiscovererId *string `type:"string"` SourceArn *string `type:"string"` State DiscovererState `type:"string" enum:"true"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (UpdateDiscovererOutput) MarshalFields ¶
func (s UpdateDiscovererOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDiscovererOutput) String ¶
func (s UpdateDiscovererOutput) String() string
String returns the string representation
type UpdateDiscovererRequest ¶
type UpdateDiscovererRequest struct { *aws.Request Input *UpdateDiscovererInput Copy func(*UpdateDiscovererInput) UpdateDiscovererRequest }
UpdateDiscovererRequest is the request type for the UpdateDiscoverer API operation.
func (UpdateDiscovererRequest) Send ¶
func (r UpdateDiscovererRequest) Send(ctx context.Context) (*UpdateDiscovererResponse, error)
Send marshals and sends the UpdateDiscoverer API request.
type UpdateDiscovererResponse ¶
type UpdateDiscovererResponse struct { *UpdateDiscovererOutput // contains filtered or unexported fields }
UpdateDiscovererResponse is the response type for the UpdateDiscoverer API operation.
func (*UpdateDiscovererResponse) SDKResponseMetdata ¶
func (r *UpdateDiscovererResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateDiscoverer request.
type UpdateRegistryInput ¶
type UpdateRegistryInput struct { Description *string `type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateRegistryInput) MarshalFields ¶
func (s UpdateRegistryInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRegistryInput) String ¶
func (s UpdateRegistryInput) String() string
String returns the string representation
func (*UpdateRegistryInput) Validate ¶
func (s *UpdateRegistryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRegistryOutput ¶
type UpdateRegistryOutput struct { Description *string `type:"string"` RegistryArn *string `type:"string"` RegistryName *string `type:"string"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (UpdateRegistryOutput) MarshalFields ¶
func (s UpdateRegistryOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRegistryOutput) String ¶
func (s UpdateRegistryOutput) String() string
String returns the string representation
type UpdateRegistryRequest ¶
type UpdateRegistryRequest struct { *aws.Request Input *UpdateRegistryInput Copy func(*UpdateRegistryInput) UpdateRegistryRequest }
UpdateRegistryRequest is the request type for the UpdateRegistry API operation.
func (UpdateRegistryRequest) Send ¶
func (r UpdateRegistryRequest) Send(ctx context.Context) (*UpdateRegistryResponse, error)
Send marshals and sends the UpdateRegistry API request.
type UpdateRegistryResponse ¶
type UpdateRegistryResponse struct { *UpdateRegistryOutput // contains filtered or unexported fields }
UpdateRegistryResponse is the response type for the UpdateRegistry API operation.
func (*UpdateRegistryResponse) SDKResponseMetdata ¶
func (r *UpdateRegistryResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateRegistry request.
type UpdateSchemaInput ¶
type UpdateSchemaInput struct { ClientTokenId *string `type:"string" idempotencyToken:"true"` Content *string `min:"1" type:"string"` Description *string `type:"string"` // RegistryName is a required field RegistryName *string `location:"uri" locationName:"registryName" type:"string" required:"true"` // SchemaName is a required field SchemaName *string `location:"uri" locationName:"schemaName" type:"string" required:"true"` Type Type `type:"string" enum:"true"` // contains filtered or unexported fields }
func (UpdateSchemaInput) MarshalFields ¶
func (s UpdateSchemaInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSchemaInput) String ¶
func (s UpdateSchemaInput) String() string
String returns the string representation
func (*UpdateSchemaInput) Validate ¶
func (s *UpdateSchemaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSchemaOutput ¶
type UpdateSchemaOutput struct { Description *string `type:"string"` LastModified *time.Time `type:"timestamp" timestampFormat:"iso8601"` SchemaArn *string `type:"string"` SchemaName *string `type:"string"` SchemaVersion *string `type:"string"` // Key-value pairs associated with a resource. Tags map[string]string `locationName:"tags" type:"map"` Type *string `type:"string"` VersionCreatedDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
func (UpdateSchemaOutput) MarshalFields ¶
func (s UpdateSchemaOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSchemaOutput) String ¶
func (s UpdateSchemaOutput) String() string
String returns the string representation
type UpdateSchemaRequest ¶
type UpdateSchemaRequest struct { *aws.Request Input *UpdateSchemaInput Copy func(*UpdateSchemaInput) UpdateSchemaRequest }
UpdateSchemaRequest is the request type for the UpdateSchema API operation.
func (UpdateSchemaRequest) Send ¶
func (r UpdateSchemaRequest) Send(ctx context.Context) (*UpdateSchemaResponse, error)
Send marshals and sends the UpdateSchema API request.
type UpdateSchemaResponse ¶
type UpdateSchemaResponse struct { *UpdateSchemaOutput // contains filtered or unexported fields }
UpdateSchemaResponse is the response type for the UpdateSchema API operation.
func (*UpdateSchemaResponse) SDKResponseMetdata ¶
func (r *UpdateSchemaResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateSchema request.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CreateDiscoverer.go
- api_op_CreateRegistry.go
- api_op_CreateSchema.go
- api_op_DeleteDiscoverer.go
- api_op_DeleteRegistry.go
- api_op_DeleteResourcePolicy.go
- api_op_DeleteSchema.go
- api_op_DeleteSchemaVersion.go
- api_op_DescribeCodeBinding.go
- api_op_DescribeDiscoverer.go
- api_op_DescribeRegistry.go
- api_op_DescribeSchema.go
- api_op_GetCodeBindingSource.go
- api_op_GetDiscoveredSchema.go
- api_op_GetResourcePolicy.go
- api_op_ListDiscoverers.go
- api_op_ListRegistries.go
- api_op_ListSchemaVersions.go
- api_op_ListSchemas.go
- api_op_ListTagsForResource.go
- api_op_LockServiceLinkedRole.go
- api_op_PutCodeBinding.go
- api_op_PutResourcePolicy.go
- api_op_SearchSchemas.go
- api_op_StartDiscoverer.go
- api_op_StopDiscoverer.go
- api_op_TagResource.go
- api_op_UnlockServiceLinkedRole.go
- api_op_UntagResource.go
- api_op_UpdateDiscoverer.go
- api_op_UpdateRegistry.go
- api_op_UpdateSchema.go
- api_types.go
- api_waiters.go
Directories ¶
Path | Synopsis |
---|---|
Package schemasiface provides an interface to enable mocking the Schemas service client for testing your code.
|
Package schemasiface provides an interface to enable mocking the Schemas service client for testing your code. |