123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- import {Request} from '../lib/request';
- import {Response} from '../lib/response';
- import {AWSError} from '../lib/error';
- import {Service} from '../lib/service';
- import {ServiceConfigurationOptions} from '../lib/service';
- import {ConfigBase as Config} from '../lib/config-base';
- interface Blob {}
- declare class ControlCatalog extends Service {
- /**
- * Constructs a service object. This object has one method for each API operation.
- */
- constructor(options?: ControlCatalog.Types.ClientConfiguration)
- config: Config & ControlCatalog.Types.ClientConfiguration;
- /**
- * Returns a paginated list of common controls from the Amazon Web Services Control Catalog. You can apply an optional filter to see common controls that have a specific objective. If you don’t provide a filter, the operation returns all common controls.
- */
- listCommonControls(params: ControlCatalog.Types.ListCommonControlsRequest, callback?: (err: AWSError, data: ControlCatalog.Types.ListCommonControlsResponse) => void): Request<ControlCatalog.Types.ListCommonControlsResponse, AWSError>;
- /**
- * Returns a paginated list of common controls from the Amazon Web Services Control Catalog. You can apply an optional filter to see common controls that have a specific objective. If you don’t provide a filter, the operation returns all common controls.
- */
- listCommonControls(callback?: (err: AWSError, data: ControlCatalog.Types.ListCommonControlsResponse) => void): Request<ControlCatalog.Types.ListCommonControlsResponse, AWSError>;
- /**
- * Returns a paginated list of domains from the Amazon Web Services Control Catalog.
- */
- listDomains(params: ControlCatalog.Types.ListDomainsRequest, callback?: (err: AWSError, data: ControlCatalog.Types.ListDomainsResponse) => void): Request<ControlCatalog.Types.ListDomainsResponse, AWSError>;
- /**
- * Returns a paginated list of domains from the Amazon Web Services Control Catalog.
- */
- listDomains(callback?: (err: AWSError, data: ControlCatalog.Types.ListDomainsResponse) => void): Request<ControlCatalog.Types.ListDomainsResponse, AWSError>;
- /**
- * Returns a paginated list of objectives from the Amazon Web Services Control Catalog. You can apply an optional filter to see the objectives that belong to a specific domain. If you don’t provide a filter, the operation returns all objectives.
- */
- listObjectives(params: ControlCatalog.Types.ListObjectivesRequest, callback?: (err: AWSError, data: ControlCatalog.Types.ListObjectivesResponse) => void): Request<ControlCatalog.Types.ListObjectivesResponse, AWSError>;
- /**
- * Returns a paginated list of objectives from the Amazon Web Services Control Catalog. You can apply an optional filter to see the objectives that belong to a specific domain. If you don’t provide a filter, the operation returns all objectives.
- */
- listObjectives(callback?: (err: AWSError, data: ControlCatalog.Types.ListObjectivesResponse) => void): Request<ControlCatalog.Types.ListObjectivesResponse, AWSError>;
- }
- declare namespace ControlCatalog {
- export interface AssociatedDomainSummary {
- /**
- * The Amazon Resource Name (ARN) of the related domain.
- */
- Arn?: DomainArn;
- /**
- * The name of the related domain.
- */
- Name?: String;
- }
- export interface AssociatedObjectiveSummary {
- /**
- * The Amazon Resource Name (ARN) of the related objective.
- */
- Arn?: ObjectiveArn;
- /**
- * The name of the related objective.
- */
- Name?: String;
- }
- export type CommonControlArn = string;
- export interface CommonControlFilter {
- /**
- * The objective that's used as filter criteria. You can use this parameter to specify one objective ARN at a time. Passing multiple ARNs in the CommonControlFilter isn’t currently supported.
- */
- Objectives?: ObjectiveResourceFilterList;
- }
- export interface CommonControlSummary {
- /**
- * The Amazon Resource Name (ARN) that identifies the common control.
- */
- Arn: CommonControlArn;
- /**
- * The time when the common control was created.
- */
- CreateTime: Timestamp;
- /**
- * The description of the common control.
- */
- Description: String;
- /**
- * The domain that the common control belongs to.
- */
- Domain: AssociatedDomainSummary;
- /**
- * The time when the common control was most recently updated.
- */
- LastUpdateTime: Timestamp;
- /**
- * The name of the common control.
- */
- Name: String;
- /**
- * The objective that the common control belongs to.
- */
- Objective: AssociatedObjectiveSummary;
- }
- export type CommonControlSummaryList = CommonControlSummary[];
- export type DomainArn = string;
- export interface DomainResourceFilter {
- /**
- * The Amazon Resource Name (ARN) of the domain.
- */
- Arn?: DomainArn;
- }
- export type DomainResourceFilterList = DomainResourceFilter[];
- export interface DomainSummary {
- /**
- * The Amazon Resource Name (ARN) that identifies the domain.
- */
- Arn: DomainArn;
- /**
- * The time when the domain was created.
- */
- CreateTime: Timestamp;
- /**
- * The description of the domain.
- */
- Description: String;
- /**
- * The time when the domain was most recently updated.
- */
- LastUpdateTime: Timestamp;
- /**
- * The name of the domain.
- */
- Name: String;
- }
- export type DomainSummaryList = DomainSummary[];
- export interface ListCommonControlsRequest {
- /**
- * An optional filter that narrows the results to a specific objective. This filter allows you to specify one objective ARN at a time. Passing multiple ARNs in the CommonControlFilter isn’t currently supported.
- */
- CommonControlFilter?: CommonControlFilter;
- /**
- * The maximum number of results on a page or for an API request call.
- */
- MaxResults?: MaxListCommonControlsResults;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- NextToken?: PaginationToken;
- }
- export interface ListCommonControlsResponse {
- /**
- * The list of common controls that the ListCommonControls API returns.
- */
- CommonControls: CommonControlSummaryList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- NextToken?: PaginationToken;
- }
- export interface ListDomainsRequest {
- /**
- * The maximum number of results on a page or for an API request call.
- */
- MaxResults?: MaxListDomainsResults;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- NextToken?: PaginationToken;
- }
- export interface ListDomainsResponse {
- /**
- * The list of domains that the ListDomains API returns.
- */
- Domains: DomainSummaryList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- NextToken?: PaginationToken;
- }
- export interface ListObjectivesRequest {
- /**
- * The maximum number of results on a page or for an API request call.
- */
- MaxResults?: MaxListObjectivesResults;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- NextToken?: PaginationToken;
- /**
- * An optional filter that narrows the results to a specific domain. This filter allows you to specify one domain ARN at a time. Passing multiple ARNs in the ObjectiveFilter isn’t currently supported.
- */
- ObjectiveFilter?: ObjectiveFilter;
- }
- export interface ListObjectivesResponse {
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- NextToken?: PaginationToken;
- /**
- * The list of objectives that the ListObjectives API returns.
- */
- Objectives: ObjectiveSummaryList;
- }
- export type MaxListCommonControlsResults = number;
- export type MaxListDomainsResults = number;
- export type MaxListObjectivesResults = number;
- export type ObjectiveArn = string;
- export interface ObjectiveFilter {
- /**
- * The domain that's used as filter criteria. You can use this parameter to specify one domain ARN at a time. Passing multiple ARNs in the ObjectiveFilter isn’t currently supported.
- */
- Domains?: DomainResourceFilterList;
- }
- export interface ObjectiveResourceFilter {
- /**
- * The Amazon Resource Name (ARN) of the objective.
- */
- Arn?: ObjectiveArn;
- }
- export type ObjectiveResourceFilterList = ObjectiveResourceFilter[];
- export interface ObjectiveSummary {
- /**
- * The Amazon Resource Name (ARN) that identifies the objective.
- */
- Arn: ObjectiveArn;
- /**
- * The time when the objective was created.
- */
- CreateTime: Timestamp;
- /**
- * The description of the objective.
- */
- Description: String;
- /**
- * The domain that the objective belongs to.
- */
- Domain: AssociatedDomainSummary;
- /**
- * The time when the objective was most recently updated.
- */
- LastUpdateTime: Timestamp;
- /**
- * The name of the objective.
- */
- Name: String;
- }
- export type ObjectiveSummaryList = ObjectiveSummary[];
- export type PaginationToken = string;
- export type String = string;
- export type Timestamp = Date;
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- export type apiVersion = "2018-05-10"|"latest"|string;
- export interface ClientApiVersions {
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- apiVersion?: apiVersion;
- }
- export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
- /**
- * Contains interfaces for use with the ControlCatalog client.
- */
- export import Types = ControlCatalog;
- }
- export = ControlCatalog;
|