apptest

package module
v1.4.14 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 45 Imported by: 3

Documentation

Overview

Package apptest provides the API client, operations, and parameter types for AWS Mainframe Modernization Application Testing.

AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.

Index

Constants

View Source
const ServiceAPIVersion = "2022-12-06"
View Source
const ServiceID = "AppTest"

Variables

This section is empty.

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver deprecated

func WithEndpointResolver(v EndpointResolver) func(*Options)

Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.

To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.

func WithEndpointResolverV2

func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)

WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.

func WithSigV4SigningName

func WithSigV4SigningName(name string) func(*Options)

WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.

func WithSigV4SigningRegion

func WithSigV4SigningRegion(region string) func(*Options)

WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.

Types

type AuthResolverParameters

type AuthResolverParameters struct {
	// The name of the operation being invoked.
	Operation string

	// The region in which the operation is being invoked.
	Region string
}

AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.

type AuthSchemeResolver

type AuthSchemeResolver interface {
	ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}

AuthSchemeResolver returns a set of possible authentication options for an operation.

type Client

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

Client provides the API client to make operations call for AWS Mainframe Modernization Application Testing.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) CreateTestCase

func (c *Client) CreateTestCase(ctx context.Context, params *CreateTestCaseInput, optFns ...func(*Options)) (*CreateTestCaseOutput, error)

Creates a test case.

func (*Client) CreateTestConfiguration

func (c *Client) CreateTestConfiguration(ctx context.Context, params *CreateTestConfigurationInput, optFns ...func(*Options)) (*CreateTestConfigurationOutput, error)

Creates a test configuration.

func (*Client) CreateTestSuite

func (c *Client) CreateTestSuite(ctx context.Context, params *CreateTestSuiteInput, optFns ...func(*Options)) (*CreateTestSuiteOutput, error)

Creates a test suite.

func (*Client) DeleteTestCase

func (c *Client) DeleteTestCase(ctx context.Context, params *DeleteTestCaseInput, optFns ...func(*Options)) (*DeleteTestCaseOutput, error)

Deletes a test case.

func (*Client) DeleteTestConfiguration

func (c *Client) DeleteTestConfiguration(ctx context.Context, params *DeleteTestConfigurationInput, optFns ...func(*Options)) (*DeleteTestConfigurationOutput, error)

Deletes a test configuration.

func (*Client) DeleteTestRun

func (c *Client) DeleteTestRun(ctx context.Context, params *DeleteTestRunInput, optFns ...func(*Options)) (*DeleteTestRunOutput, error)

Deletes a test run.

func (*Client) DeleteTestSuite

func (c *Client) DeleteTestSuite(ctx context.Context, params *DeleteTestSuiteInput, optFns ...func(*Options)) (*DeleteTestSuiteOutput, error)

Deletes a test suite.

func (*Client) GetTestCase

func (c *Client) GetTestCase(ctx context.Context, params *GetTestCaseInput, optFns ...func(*Options)) (*GetTestCaseOutput, error)

Gets a test case.

func (*Client) GetTestConfiguration

func (c *Client) GetTestConfiguration(ctx context.Context, params *GetTestConfigurationInput, optFns ...func(*Options)) (*GetTestConfigurationOutput, error)

Gets a test configuration.

func (*Client) GetTestRunStep

func (c *Client) GetTestRunStep(ctx context.Context, params *GetTestRunStepInput, optFns ...func(*Options)) (*GetTestRunStepOutput, error)

Gets a test run step.

func (*Client) GetTestSuite

func (c *Client) GetTestSuite(ctx context.Context, params *GetTestSuiteInput, optFns ...func(*Options)) (*GetTestSuiteOutput, error)

Gets a test suite.

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

Lists tags for a resource.

func (*Client) ListTestCases

func (c *Client) ListTestCases(ctx context.Context, params *ListTestCasesInput, optFns ...func(*Options)) (*ListTestCasesOutput, error)

Lists test cases.

func (*Client) ListTestConfigurations

func (c *Client) ListTestConfigurations(ctx context.Context, params *ListTestConfigurationsInput, optFns ...func(*Options)) (*ListTestConfigurationsOutput, error)

Lists test configurations.

func (*Client) ListTestRunSteps

func (c *Client) ListTestRunSteps(ctx context.Context, params *ListTestRunStepsInput, optFns ...func(*Options)) (*ListTestRunStepsOutput, error)

Lists test run steps.

func (*Client) ListTestRunTestCases

func (c *Client) ListTestRunTestCases(ctx context.Context, params *ListTestRunTestCasesInput, optFns ...func(*Options)) (*ListTestRunTestCasesOutput, error)

Lists test run test cases.

func (*Client) ListTestRuns

func (c *Client) ListTestRuns(ctx context.Context, params *ListTestRunsInput, optFns ...func(*Options)) (*ListTestRunsOutput, error)

Lists test runs.

func (*Client) ListTestSuites

func (c *Client) ListTestSuites(ctx context.Context, params *ListTestSuitesInput, optFns ...func(*Options)) (*ListTestSuitesOutput, error)

Lists test suites.

func (*Client) Options

func (c *Client) Options() Options

Options returns a copy of the client configuration.

Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.

func (*Client) StartTestRun

func (c *Client) StartTestRun(ctx context.Context, params *StartTestRunInput, optFns ...func(*Options)) (*StartTestRunOutput, error)

Starts a test run.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

Specifies tags of a resource.

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

Untags a resource.

func (*Client) UpdateTestCase

func (c *Client) UpdateTestCase(ctx context.Context, params *UpdateTestCaseInput, optFns ...func(*Options)) (*UpdateTestCaseOutput, error)

Updates a test case.

func (*Client) UpdateTestConfiguration

func (c *Client) UpdateTestConfiguration(ctx context.Context, params *UpdateTestConfigurationInput, optFns ...func(*Options)) (*UpdateTestConfigurationOutput, error)

Updates a test configuration.

func (*Client) UpdateTestSuite

func (c *Client) UpdateTestSuite(ctx context.Context, params *UpdateTestSuiteInput, optFns ...func(*Options)) (*UpdateTestSuiteOutput, error)

Updates a test suite.

type CreateTestCaseInput

type CreateTestCaseInput struct {

	// The name of the test case.
	//
	// This member is required.
	Name *string

	// The steps in the test case.
	//
	// This member is required.
	Steps []types.Step

	// The client token of the test case.
	ClientToken *string

	// The description of the test case.
	Description *string

	// The specified tags of the test case.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateTestCaseOutput

type CreateTestCaseOutput struct {

	// The test case ID of the test case.
	//
	// This member is required.
	TestCaseId *string

	// The test case version of the test case.
	//
	// This member is required.
	TestCaseVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateTestConfigurationInput

type CreateTestConfigurationInput struct {

	// The name of the test configuration.
	//
	// This member is required.
	Name *string

	// The defined resources of the test configuration.
	//
	// This member is required.
	Resources []types.Resource

	// The client token of the test configuration.
	ClientToken *string

	// The description of the test configuration.
	Description *string

	// The properties of the test configuration.
	Properties map[string]string

	// The service settings of the test configuration.
	ServiceSettings *types.ServiceSettings

	// The tags of the test configuration.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateTestConfigurationOutput

type CreateTestConfigurationOutput struct {

	// The test configuration ID.
	//
	// This member is required.
	TestConfigurationId *string

	// The test configuration version.
	//
	// This member is required.
	TestConfigurationVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateTestSuiteInput

type CreateTestSuiteInput struct {

	// The name of the test suite.
	//
	// This member is required.
	Name *string

	// The test cases in the test suite.
	//
	// This member is required.
	TestCases types.TestCases

	// The after steps of the test suite.
	AfterSteps []types.Step

	// The before steps of the test suite.
	BeforeSteps []types.Step

	// The client token of the test suite.
	ClientToken *string

	// The description of the test suite.
	Description *string

	// The tags of the test suite.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateTestSuiteOutput

type CreateTestSuiteOutput struct {

	// The suite ID of the test suite.
	//
	// This member is required.
	TestSuiteId *string

	// The suite version of the test suite.
	//
	// This member is required.
	TestSuiteVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteTestCaseInput

type DeleteTestCaseInput struct {

	// The test case ID of the test case.
	//
	// This member is required.
	TestCaseId *string
	// contains filtered or unexported fields
}

type DeleteTestCaseOutput

type DeleteTestCaseOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteTestConfigurationInput

type DeleteTestConfigurationInput struct {

	// The test ID of the test configuration.
	//
	// This member is required.
	TestConfigurationId *string
	// contains filtered or unexported fields
}

type DeleteTestConfigurationOutput

type DeleteTestConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteTestRunInput

type DeleteTestRunInput struct {

	// The run ID of the test run.
	//
	// This member is required.
	TestRunId *string
	// contains filtered or unexported fields
}

type DeleteTestRunOutput

type DeleteTestRunOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteTestSuiteInput

type DeleteTestSuiteInput struct {

	// The test ID of the test suite.
	//
	// This member is required.
	TestSuiteId *string
	// contains filtered or unexported fields
}

type DeleteTestSuiteOutput

type DeleteTestSuiteOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EndpointParameters

type EndpointParameters struct {
	// The AWS region used to dispatch the request.
	//
	// Parameter is
	// required.
	//
	// AWS::Region
	Region *string

	// When true, use the dual-stack endpoint. If the configured endpoint does not
	// support dual-stack, dispatching the request MAY return an error.
	//
	// Defaults to
	// false if no value is provided.
	//
	// AWS::UseDualStack
	UseDualStack *bool

	// When true, send this request to the FIPS-compliant regional endpoint. If the
	// configured endpoint does not have a FIPS compliant endpoint, dispatching the
	// request will return an error.
	//
	// Defaults to false if no value is
	// provided.
	//
	// AWS::UseFIPS
	UseFIPS *bool

	// Override the endpoint used to send this request
	//
	// Parameter is
	// required.
	//
	// SDK::Endpoint
	Endpoint *string
}

EndpointParameters provides the parameters that influence how endpoints are resolved.

func (EndpointParameters) ValidateRequired

func (p EndpointParameters) ValidateRequired() error

ValidateRequired validates required parameters are set.

func (EndpointParameters) WithDefaults

func (p EndpointParameters) WithDefaults() EndpointParameters

WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type EndpointResolverV2

type EndpointResolverV2 interface {
	// ResolveEndpoint attempts to resolve the endpoint with the provided options,
	// returning the endpoint if found. Otherwise an error is returned.
	ResolveEndpoint(ctx context.Context, params EndpointParameters) (
		smithyendpoints.Endpoint, error,
	)
}

EndpointResolverV2 provides the interface for resolving service endpoints.

func NewDefaultEndpointResolverV2

func NewDefaultEndpointResolverV2() EndpointResolverV2

type GetTestCaseInput

type GetTestCaseInput struct {

	// The request test ID of the test case.
	//
	// This member is required.
	TestCaseId *string

	// The test case version of the test case.
	TestCaseVersion *int32
	// contains filtered or unexported fields
}

type GetTestCaseOutput

type GetTestCaseOutput struct {

	// The creation time of the test case.
	//
	// This member is required.
	CreationTime *time.Time

	// The last update time of the test case.
	//
	// This member is required.
	LastUpdateTime *time.Time

	// The latest version of the test case.
	//
	// This member is required.
	LatestVersion *types.TestCaseLatestVersion

	// The name of the test case.
	//
	// This member is required.
	Name *string

	// The status of the test case.
	//
	// This member is required.
	Status types.TestCaseLifecycle

	// The steps of the test case.
	//
	// This member is required.
	Steps []types.Step

	// The Amazon Resource Name (ARN) of the test case.
	//
	// This member is required.
	TestCaseArn *string

	// The response test ID of the test case.
	//
	// This member is required.
	TestCaseId *string

	// The case version of the test case.
	//
	// This member is required.
	TestCaseVersion *int32

	// The description of the test case.
	Description *string

	// The status reason of the test case.
	StatusReason *string

	// The tags of the test case.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetTestConfigurationInput

type GetTestConfigurationInput struct {

	// The request test configuration ID.
	//
	// This member is required.
	TestConfigurationId *string

	// The test configuration version.
	TestConfigurationVersion *int32
	// contains filtered or unexported fields
}

type GetTestConfigurationOutput

type GetTestConfigurationOutput struct {

	// The creation time of the test configuration.
	//
	// This member is required.
	CreationTime *time.Time

	// The last update time of the test configuration.
	//
	// This member is required.
	LastUpdateTime *time.Time

	// The latest version of the test configuration.
	//
	// This member is required.
	LatestVersion *types.TestConfigurationLatestVersion

	// The test configuration name
	//
	// This member is required.
	Name *string

	// The properties of the test configuration.
	//
	// This member is required.
	Properties map[string]string

	// The resources of the test configuration.
	//
	// This member is required.
	Resources []types.Resource

	// The status of the test configuration.
	//
	// This member is required.
	Status types.TestConfigurationLifecycle

	// The test configuration Amazon Resource Name (ARN).
	//
	// This member is required.
	TestConfigurationArn *string

	// The response test configuration ID.
	//
	// This member is required.
	TestConfigurationId *string

	// The test configuration version.
	//
	// This member is required.
	TestConfigurationVersion *int32

	// The description of the test configuration.
	Description *string

	// The service settings of the test configuration.
	ServiceSettings *types.ServiceSettings

	// The status reason of the test configuration.
	StatusReason *string

	// The tags of the test configuration.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetTestRunStepInput

type GetTestRunStepInput struct {

	// The step name of the test run step.
	//
	// This member is required.
	StepName *string

	// The test run ID of the test run step.
	//
	// This member is required.
	TestRunId *string

	// The test case ID of a test run step.
	TestCaseId *string

	// The test suite ID of a test run step.
	TestSuiteId *string
	// contains filtered or unexported fields
}

type GetTestRunStepOutput

type GetTestRunStepOutput struct {

	// The run start time of the test run step.
	//
	// This member is required.
	RunStartTime *time.Time

	// The status of the test run step.
	//
	// This member is required.
	Status types.StepRunStatus

	// The step name of the test run step.
	//
	// This member is required.
	StepName *string

	// The test run ID of the test run step.
	//
	// This member is required.
	TestRunId *string

	// The after steps of the test run step.
	AfterStep *bool

	// The before steps of the test run step.
	BeforeStep *bool

	// The run end time of the test run step.
	RunEndTime *time.Time

	// The status reason of the test run step.
	StatusReason *string

	// The step run summary of the test run step.
	StepRunSummary types.StepRunSummary

	// The test case ID of the test run step.
	TestCaseId *string

	// The test case version of the test run step.
	TestCaseVersion *int32

	// The test suite ID of the test run step.
	TestSuiteId *string

	// The test suite version of the test run step.
	TestSuiteVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetTestSuiteInput

type GetTestSuiteInput struct {

	// The ID of the test suite.
	//
	// This member is required.
	TestSuiteId *string

	// The version of the test suite.
	TestSuiteVersion *int32
	// contains filtered or unexported fields
}

type GetTestSuiteOutput

type GetTestSuiteOutput struct {

	// The after steps of the test suite.
	//
	// This member is required.
	AfterSteps []types.Step

	// The before steps of the test suite.
	//
	// This member is required.
	BeforeSteps []types.Step

	// The creation time of the test suite.
	//
	// This member is required.
	CreationTime *time.Time

	// The last update time of the test suite.
	//
	// This member is required.
	LastUpdateTime *time.Time

	// The latest version of the test suite.
	//
	// This member is required.
	LatestVersion *types.TestSuiteLatestVersion

	// The name of the test suite.
	//
	// This member is required.
	Name *string

	// The test cases of the test suite.
	//
	// This member is required.
	TestCases types.TestCases

	// The test suite Amazon Resource Name (ARN).
	//
	// This member is required.
	TestSuiteArn *string

	// The response ID of the test suite.
	//
	// This member is required.
	TestSuiteId *string

	// The version of the test suite.
	//
	// This member is required.
	TestSuiteVersion *int32

	// The description of the test suite.
	Description *string

	// The status of the test suite.
	Status types.TestSuiteLifecycle

	// The status reason of the test suite.
	StatusReason *string

	// The tags of the test suite.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type IdempotencyTokenProvider

type IdempotencyTokenProvider interface {
	GetIdempotencyToken() (string, error)
}

IdempotencyTokenProvider interface for providing idempotency token

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// This member is required.
	ResourceArn *string
	// contains filtered or unexported fields
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags of the resource.
	//
	// This member is required.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestCasesAPIClient

type ListTestCasesAPIClient interface {
	ListTestCases(context.Context, *ListTestCasesInput, ...func(*Options)) (*ListTestCasesOutput, error)
}

ListTestCasesAPIClient is a client that implements the ListTestCases operation.

type ListTestCasesInput

type ListTestCasesInput struct {

	// The maximum results of the test case.
	MaxResults *int32

	// The next token of the test cases.
	NextToken *string

	// The IDs of the test cases.
	TestCaseIds []string
	// contains filtered or unexported fields
}

type ListTestCasesOutput

type ListTestCasesOutput struct {

	// The test cases in an application.
	//
	// This member is required.
	TestCases []types.TestCaseSummary

	// The next token in test cases.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestCasesPaginator

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

ListTestCasesPaginator is a paginator for ListTestCases

func NewListTestCasesPaginator

func NewListTestCasesPaginator(client ListTestCasesAPIClient, params *ListTestCasesInput, optFns ...func(*ListTestCasesPaginatorOptions)) *ListTestCasesPaginator

NewListTestCasesPaginator returns a new ListTestCasesPaginator

func (*ListTestCasesPaginator) HasMorePages

func (p *ListTestCasesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTestCasesPaginator) NextPage

func (p *ListTestCasesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTestCasesOutput, error)

NextPage retrieves the next ListTestCases page.

type ListTestCasesPaginatorOptions

type ListTestCasesPaginatorOptions struct {
	// The maximum results of the test case.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTestCasesPaginatorOptions is the paginator options for ListTestCases

type ListTestConfigurationsAPIClient

type ListTestConfigurationsAPIClient interface {
	ListTestConfigurations(context.Context, *ListTestConfigurationsInput, ...func(*Options)) (*ListTestConfigurationsOutput, error)
}

ListTestConfigurationsAPIClient is a client that implements the ListTestConfigurations operation.

type ListTestConfigurationsInput

type ListTestConfigurationsInput struct {

	// The maximum results of the test configuration.
	MaxResults *int32

	// The next token for the test configurations.
	NextToken *string

	// The configuration IDs of the test configurations.
	TestConfigurationIds []string
	// contains filtered or unexported fields
}

type ListTestConfigurationsOutput

type ListTestConfigurationsOutput struct {

	// The test configurations.
	//
	// This member is required.
	TestConfigurations []types.TestConfigurationSummary

	// The next token in the test configurations.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestConfigurationsPaginator

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

ListTestConfigurationsPaginator is a paginator for ListTestConfigurations

func NewListTestConfigurationsPaginator

NewListTestConfigurationsPaginator returns a new ListTestConfigurationsPaginator

func (*ListTestConfigurationsPaginator) HasMorePages

func (p *ListTestConfigurationsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTestConfigurationsPaginator) NextPage

NextPage retrieves the next ListTestConfigurations page.

type ListTestConfigurationsPaginatorOptions

type ListTestConfigurationsPaginatorOptions struct {
	// The maximum results of the test configuration.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTestConfigurationsPaginatorOptions is the paginator options for ListTestConfigurations

type ListTestRunStepsAPIClient

type ListTestRunStepsAPIClient interface {
	ListTestRunSteps(context.Context, *ListTestRunStepsInput, ...func(*Options)) (*ListTestRunStepsOutput, error)
}

ListTestRunStepsAPIClient is a client that implements the ListTestRunSteps operation.

type ListTestRunStepsInput

type ListTestRunStepsInput struct {

	// The test run ID of the test run steps.
	//
	// This member is required.
	TestRunId *string

	// The maximum number of test run steps to return in one page of results.
	MaxResults *int32

	// The token from a previous step to retrieve the next page of results.
	NextToken *string

	// The test case ID of the test run steps.
	TestCaseId *string

	// The test suite ID of the test run steps.
	TestSuiteId *string
	// contains filtered or unexported fields
}

type ListTestRunStepsOutput

type ListTestRunStepsOutput struct {

	// The test run steps of the response query.
	//
	// This member is required.
	TestRunSteps []types.TestRunStepSummary

	// The token from a previous request to retrieve the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestRunStepsPaginator

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

ListTestRunStepsPaginator is a paginator for ListTestRunSteps

func NewListTestRunStepsPaginator

func NewListTestRunStepsPaginator(client ListTestRunStepsAPIClient, params *ListTestRunStepsInput, optFns ...func(*ListTestRunStepsPaginatorOptions)) *ListTestRunStepsPaginator

NewListTestRunStepsPaginator returns a new ListTestRunStepsPaginator

func (*ListTestRunStepsPaginator) HasMorePages

func (p *ListTestRunStepsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTestRunStepsPaginator) NextPage

func (p *ListTestRunStepsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTestRunStepsOutput, error)

NextPage retrieves the next ListTestRunSteps page.

type ListTestRunStepsPaginatorOptions

type ListTestRunStepsPaginatorOptions struct {
	// The maximum number of test run steps to return in one page of results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTestRunStepsPaginatorOptions is the paginator options for ListTestRunSteps

type ListTestRunTestCasesAPIClient

type ListTestRunTestCasesAPIClient interface {
	ListTestRunTestCases(context.Context, *ListTestRunTestCasesInput, ...func(*Options)) (*ListTestRunTestCasesOutput, error)
}

ListTestRunTestCasesAPIClient is a client that implements the ListTestRunTestCases operation.

type ListTestRunTestCasesInput

type ListTestRunTestCasesInput struct {

	// The test run ID of the test cases.
	//
	// This member is required.
	TestRunId *string

	// The maximum number of test run test cases to return in one page of results.
	MaxResults *int32

	// The token from a previous request to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListTestRunTestCasesOutput

type ListTestRunTestCasesOutput struct {

	// The test run of the test cases.
	//
	// This member is required.
	TestRunTestCases []types.TestCaseRunSummary

	// The token from a previous request to retrieve the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestRunTestCasesPaginator

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

ListTestRunTestCasesPaginator is a paginator for ListTestRunTestCases

func NewListTestRunTestCasesPaginator

NewListTestRunTestCasesPaginator returns a new ListTestRunTestCasesPaginator

func (*ListTestRunTestCasesPaginator) HasMorePages

func (p *ListTestRunTestCasesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTestRunTestCasesPaginator) NextPage

NextPage retrieves the next ListTestRunTestCases page.

type ListTestRunTestCasesPaginatorOptions

type ListTestRunTestCasesPaginatorOptions struct {
	// The maximum number of test run test cases to return in one page of results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTestRunTestCasesPaginatorOptions is the paginator options for ListTestRunTestCases

type ListTestRunsAPIClient

type ListTestRunsAPIClient interface {
	ListTestRuns(context.Context, *ListTestRunsInput, ...func(*Options)) (*ListTestRunsOutput, error)
}

ListTestRunsAPIClient is a client that implements the ListTestRuns operation.

type ListTestRunsInput

type ListTestRunsInput struct {

	// The maximum number of test runs to return in one page of results.
	MaxResults *int32

	// The token from the previous request to retrieve the next page of test run
	// results.
	NextToken *string

	// The test run IDs of the test runs.
	TestRunIds []string

	// The test suite ID of the test runs.
	TestSuiteId *string
	// contains filtered or unexported fields
}

type ListTestRunsOutput

type ListTestRunsOutput struct {

	// The test runs of the response query.
	//
	// This member is required.
	TestRuns []types.TestRunSummary

	// The token from the previous request to retrieve the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestRunsPaginator

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

ListTestRunsPaginator is a paginator for ListTestRuns

func NewListTestRunsPaginator

func NewListTestRunsPaginator(client ListTestRunsAPIClient, params *ListTestRunsInput, optFns ...func(*ListTestRunsPaginatorOptions)) *ListTestRunsPaginator

NewListTestRunsPaginator returns a new ListTestRunsPaginator

func (*ListTestRunsPaginator) HasMorePages

func (p *ListTestRunsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTestRunsPaginator) NextPage

func (p *ListTestRunsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTestRunsOutput, error)

NextPage retrieves the next ListTestRuns page.

type ListTestRunsPaginatorOptions

type ListTestRunsPaginatorOptions struct {
	// The maximum number of test runs to return in one page of results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTestRunsPaginatorOptions is the paginator options for ListTestRuns

type ListTestSuitesAPIClient

type ListTestSuitesAPIClient interface {
	ListTestSuites(context.Context, *ListTestSuitesInput, ...func(*Options)) (*ListTestSuitesOutput, error)
}

ListTestSuitesAPIClient is a client that implements the ListTestSuites operation.

type ListTestSuitesInput

type ListTestSuitesInput struct {

	// The maximum number of test suites to return in one page of results.
	MaxResults *int32

	// The token from a previous request to retrieve the next page of results.
	NextToken *string

	// The suite ID of the test suites.
	TestSuiteIds []string
	// contains filtered or unexported fields
}

type ListTestSuitesOutput

type ListTestSuitesOutput struct {

	// The test suites returned with the response query.
	//
	// This member is required.
	TestSuites []types.TestSuiteSummary

	// The token from a previous request to retrieve the next page of test suites
	// results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListTestSuitesPaginator

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

ListTestSuitesPaginator is a paginator for ListTestSuites

func NewListTestSuitesPaginator

func NewListTestSuitesPaginator(client ListTestSuitesAPIClient, params *ListTestSuitesInput, optFns ...func(*ListTestSuitesPaginatorOptions)) *ListTestSuitesPaginator

NewListTestSuitesPaginator returns a new ListTestSuitesPaginator

func (*ListTestSuitesPaginator) HasMorePages

func (p *ListTestSuitesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListTestSuitesPaginator) NextPage

func (p *ListTestSuitesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTestSuitesOutput, error)

NextPage retrieves the next ListTestSuites page.

type ListTestSuitesPaginatorOptions

type ListTestSuitesPaginatorOptions struct {
	// The maximum number of test suites to return in one page of results.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListTestSuitesPaginatorOptions is the paginator options for ListTestSuites

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The optional application specific identifier appended to the User-Agent header.
	AppID string

	// This endpoint will be given as input to an EndpointResolverV2. It is used for
	// providing a custom base endpoint that is subject to modifications by the
	// processing EndpointResolverV2.
	BaseEndpoint *string

	// Configures the events that will be sent to the configured logger.
	ClientLogMode aws.ClientLogMode

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The configuration DefaultsMode that the SDK should use when constructing the
	// clients initial default settings.
	DefaultsMode aws.DefaultsMode

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions EndpointResolverOptions

	// The service endpoint resolver.
	//
	// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
	// value for this field will likely prevent you from using any endpoint-related
	// service features released after the introduction of EndpointResolverV2 and
	// BaseEndpoint.
	//
	// To migrate an EndpointResolver implementation that uses a custom endpoint, set
	// the client option BaseEndpoint instead.
	EndpointResolver EndpointResolver

	// Resolves the endpoint used for a particular service operation. This should be
	// used over the deprecated EndpointResolver.
	EndpointResolverV2 EndpointResolverV2

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// Provides idempotency tokens values that will be automatically populated into
	// idempotent API operations.
	IdempotencyTokenProvider IdempotencyTokenProvider

	// The logger writer interface to write logging messages to.
	Logger logging.Logger

	// The client meter provider.
	MeterProvider metrics.MeterProvider

	// The region to send requests to. (Required)
	Region string

	// RetryMaxAttempts specifies the maximum number attempts an API client will call
	// an operation that fails with a retryable error. A value of 0 is ignored, and
	// will not be used to configure the API client created default retryer, or modify
	// per operation call's retry max attempts.
	//
	// If specified in an operation call's functional options with a value that is
	// different than the constructed client's Options, the Client's Retryer will be
	// wrapped to use the operation's specific RetryMaxAttempts value.
	RetryMaxAttempts int

	// RetryMode specifies the retry mode the API client will be created with, if
	// Retryer option is not also specified.
	//
	// When creating a new API Clients this member will only be used if the Retryer
	// Options member is nil. This value will be ignored if Retryer is not nil.
	//
	// Currently does not support per operation call overrides, may in the future.
	RetryMode aws.RetryMode

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer. The kind of
	// default retry created by the API client can be changed with the RetryMode
	// option.
	Retryer aws.Retryer

	// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
	// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
	// should not populate this structure programmatically, or rely on the values here
	// within your applications.
	RuntimeEnvironment aws.RuntimeEnvironment

	// The client tracer provider.
	TracerProvider tracing.TracerProvider

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient

	// The auth scheme resolver which determines how to authenticate for each
	// operation.
	AuthSchemeResolver AuthSchemeResolver

	// The list of auth schemes supported by the client.
	AuthSchemes []smithyhttp.AuthScheme
	// contains filtered or unexported fields
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetIdentityResolver

func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type StartTestRunInput

type StartTestRunInput struct {

	// The test suite ID of the test run.
	//
	// This member is required.
	TestSuiteId *string

	// The client token of the test run.
	ClientToken *string

	// The tags of the test run.
	Tags map[string]string

	// The configuration ID of the test run.
	TestConfigurationId *string
	// contains filtered or unexported fields
}

type StartTestRunOutput

type StartTestRunOutput struct {

	// The test run ID of the test run.
	//
	// This member is required.
	TestRunId *string

	// The test run status of the test run.
	//
	// This member is required.
	TestRunStatus types.TestRunStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the tag resource.
	//
	// This member is required.
	ResourceArn *string

	// The tags of the resource.
	//
	// This member is required.
	Tags map[string]string
	// contains filtered or unexported fields
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// This member is required.
	ResourceArn *string

	// The tag keys of the resource.
	//
	// This member is required.
	TagKeys []string
	// contains filtered or unexported fields
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateTestCaseInput

type UpdateTestCaseInput struct {

	// The test case ID of the test case.
	//
	// This member is required.
	TestCaseId *string

	// The description of the test case.
	Description *string

	// The steps of the test case.
	Steps []types.Step
	// contains filtered or unexported fields
}

type UpdateTestCaseOutput

type UpdateTestCaseOutput struct {

	// The test case ID of the test case.
	//
	// This member is required.
	TestCaseId *string

	// The test case version of the test case.
	//
	// This member is required.
	TestCaseVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateTestConfigurationInput

type UpdateTestConfigurationInput struct {

	// The test configuration ID of the test configuration.
	//
	// This member is required.
	TestConfigurationId *string

	// The description of the test configuration.
	Description *string

	// The properties of the test configuration.
	Properties map[string]string

	// The resources of the test configuration.
	Resources []types.Resource

	// The service settings of the test configuration.
	ServiceSettings *types.ServiceSettings
	// contains filtered or unexported fields
}

type UpdateTestConfigurationOutput

type UpdateTestConfigurationOutput struct {

	// The configuration ID of the test configuration.
	//
	// This member is required.
	TestConfigurationId *string

	// The configuration version of the test configuration.
	//
	// This member is required.
	TestConfigurationVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateTestSuiteInput

type UpdateTestSuiteInput struct {

	// The test suite ID of the test suite.
	//
	// This member is required.
	TestSuiteId *string

	// The after steps of the test suite.
	AfterSteps []types.Step

	// The before steps for the test suite.
	BeforeSteps []types.Step

	// The description of the test suite.
	Description *string

	// The test cases in the test suite.
	TestCases types.TestCases
	// contains filtered or unexported fields
}

type UpdateTestSuiteOutput

type UpdateTestSuiteOutput struct {

	// The test suite ID of the test suite.
	//
	// This member is required.
	TestSuiteId *string

	// The test suite version of the test suite.
	TestSuiteVersion *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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