openapi: 3.0.0 info: version: '2022-01-01' x-release: v4 title: Amazon OpenSearch Ingestion description: 'Use the Amazon OpenSearch Ingestion API to create and manage ingestion pipelines. OpenSearch Ingestion is a fully managed data collector that delivers real-time log and trace data to OpenSearch Service domains. For more information, see Getting data into your cluster using OpenSearch Ingestion.' x-logo: url: 'https://twitter.com/awscloud/profile_image?size=original' backgroundColor: '#FFFFFF' termsOfService: 'https://aws.amazon.com/service-terms/' contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: 'https://github.com/mermade/aws2openapi' x-twitter: PermittedSoc license: name: Apache 2.0 License url: 'http://www.apache.org/licenses/' x-providerName: amazonaws.com x-serviceName: osis x-origin: - contentType: application/json url: 'https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/osis-2022-01-01.normal.json' converter: url: 'https://github.com/mermade/aws2openapi' version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: 'https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct' x-apisguru-categories: - cloud x-preferred: true externalDocs: description: Amazon Web Services documentation url: 'https://docs.aws.amazon.com/osis/' servers: - url: 'http://osis.{region}.amazonaws.com' variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon OpenSearch Ingestion multi-region endpoint - url: 'https://osis.{region}.amazonaws.com' variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon OpenSearch Ingestion multi-region endpoint - url: 'http://osis.{region}.amazonaws.com.cn' variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon OpenSearch Ingestion endpoint for China (Beijing) and China (Ningxia) - url: 'https://osis.{region}.amazonaws.com.cn' variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon OpenSearch Ingestion endpoint for China (Beijing) and China (Ningxia) paths: /2022-01-01/osis/createPipeline: post: operationId: CreatePipeline description: 'Creates an OpenSearch Ingestion pipeline. For more information, see Creating and managing OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreatePipelineResponse' '480': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' '481': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '482': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '483': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '484': description: ResourceAlreadyExistsException content: application/json: schema: $ref: '#/components/schemas/ResourceAlreadyExistsException' parameters: [] requestBody: required: true content: application/json: schema: type: object required: - PipelineName - MinUnits - MaxUnits - PipelineConfigurationBody properties: PipelineName: description: The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an Amazon Web Services Region. type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 MinUnits: description: 'The minimum pipeline capacity, in Ingestion Compute Units (ICUs).' type: integer minimum: 1 maximum: 96 MaxUnits: description: 'The maximum pipeline capacity, in Ingestion Compute Units (ICUs).' type: integer minimum: 1 maximum: 96 PipelineConfigurationBody: description: 'The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.' type: string minLength: 1 maxLength: 24000 LogPublishingOptions: description: 'Container for the values required to configure logging for the pipeline. If you don''t specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.' type: object properties: IsLoggingEnabled: allOf: - $ref: '#/components/schemas/Boolean' - description: Whether logs should be published. CloudWatchLogDestination: allOf: - $ref: '#/components/schemas/CloudWatchLogDestination' - description: The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true. VpcOptions: description: Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint. type: object properties: SubnetIds: allOf: - $ref: '#/components/schemas/SubnetIds' - description: A list of subnet IDs associated with the VPC endpoint. SecurityGroupIds: allOf: - $ref: '#/components/schemas/SecurityGroupIds' - description: A list of security groups associated with the VPC endpoint. Tags: description: List of tags to add to the pipeline upon creation. type: array items: $ref: '#/components/schemas/Tag' parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/deletePipeline/{PipelineName}': delete: operationId: DeletePipeline description: 'Deletes an OpenSearch Ingestion pipeline. For more information, see Deleting pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeletePipelineResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '484': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' parameters: - name: PipelineName in: path required: true description: The name of the pipeline to delete. schema: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/getPipeline/{PipelineName}': get: operationId: GetPipeline description: Retrieves information about an OpenSearch Ingestion pipeline. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetPipelineResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' parameters: - name: PipelineName in: path required: true description: The name of the pipeline to get information about. schema: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/getPipelineBlueprint/{BlueprintName}': get: operationId: GetPipelineBlueprint description: Retrieves information about a specific blueprint for OpenSearch Ingestion. Blueprints are templates for the configuration needed for a CreatePipeline request. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetPipelineBlueprintResponse' '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' parameters: - name: BlueprintName in: path required: true description: The name of the blueprint to retrieve. schema: type: string parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/getPipelineChangeProgress/{PipelineName}': get: operationId: GetPipelineChangeProgress description: '

Returns progress information for the current change happening on an OpenSearch Ingestion pipeline. Currently, this operation only returns information when a pipeline is being created.

For more information, see Creating and managing OpenSearch Ingestion pipelines.

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/GetPipelineChangeProgressResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' parameters: - name: PipelineName in: path required: true description: The name of the pipeline. schema: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /2022-01-01/osis/listPipelineBlueprints: post: operationId: ListPipelineBlueprints description: Retrieves a list of all available blueprints for Data Prepper. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPipelineBlueprintsResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '483': description: InvalidPaginationTokenException content: application/json: schema: $ref: '#/components/schemas/InvalidPaginationTokenException' parameters: [] parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /2022-01-01/osis/listPipelines: get: operationId: ListPipelines description: 'Lists all OpenSearch Ingestion pipelines in the current Amazon Web Services account and Region. For more information, see Creating and managing OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPipelinesResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '483': description: InvalidPaginationTokenException content: application/json: schema: $ref: '#/components/schemas/InvalidPaginationTokenException' parameters: - name: maxResults in: query required: false description: An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. schema: type: integer minimum: 1 maximum: 100 - name: nextToken in: query required: false description: 'If your initial ListPipelines operation returns a nextToken, you can include the returned nextToken in subsequent ListPipelines operations, which returns results in the next page.' schema: type: string pattern: '^([\s\S]*)$' minLength: 0 maxLength: 3000 - name: MaxResults in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /2022-01-01/osis/listTagsForResource/#arn: get: operationId: ListTagsForResource description: 'Lists all resource tags associated with an OpenSearch Ingestion pipeline. For more information, see Tagging OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListTagsForResourceResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '483': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' parameters: - name: arn in: query required: true description: The Amazon Resource Name (ARN) of the pipeline to retrieve tags for. schema: type: string pattern: '^arn:(aws|aws\-cn|aws\-us\-gov|aws\-iso|aws\-iso\-b):osis:.+:pipeline\/.+$' minLength: 46 maxLength: 76 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/startPipeline/{PipelineName}': put: operationId: StartPipeline description: 'Starts an OpenSearch Ingestion pipeline. For more information, see Starting pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/StartPipelineResponse' '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' '482': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' parameters: - name: PipelineName in: path required: true description: The name of the pipeline to start. schema: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/stopPipeline/{PipelineName}': put: operationId: StopPipeline description: 'Stops an OpenSearch Ingestion pipeline. For more information, see Stopping pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/StopPipelineResponse' '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '481': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' '482': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '484': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' parameters: - name: PipelineName in: path required: true description: The name of the pipeline to stop. schema: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /2022-01-01/osis/tagResource/#arn: post: operationId: TagResource description: 'Tags an OpenSearch Ingestion pipeline. For more information, see Tagging OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/TagResourceResponse' '480': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' '481': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '482': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '483': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '484': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' parameters: - name: arn in: query required: true description: The Amazon Resource Name (ARN) of the pipeline to tag. schema: type: string pattern: '^arn:(aws|aws\-cn|aws\-us\-gov|aws\-iso|aws\-iso\-b):osis:.+:pipeline\/.+$' minLength: 46 maxLength: 76 requestBody: required: true content: application/json: schema: type: object required: - Tags properties: Tags: description: The list of key-value tags to add to the pipeline. type: array items: $ref: '#/components/schemas/Tag' parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /2022-01-01/osis/untagResource/#arn: post: operationId: UntagResource description: 'Removes one or more tags from an OpenSearch Ingestion pipeline. For more information, see Tagging OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UntagResourceResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '482': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '483': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' parameters: - name: arn in: query required: true description: The Amazon Resource Name (ARN) of the pipeline to remove tags from. schema: type: string pattern: '^arn:(aws|aws\-cn|aws\-us\-gov|aws\-iso|aws\-iso\-b):osis:.+:pipeline\/.+$' minLength: 46 maxLength: 76 requestBody: required: true content: application/json: schema: type: object required: - TagKeys properties: TagKeys: description: The tag keys to remove. type: array items: $ref: '#/components/schemas/String' parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' '/2022-01-01/osis/updatePipeline/{PipelineName}': put: operationId: UpdatePipeline description: 'Updates an OpenSearch Ingestion pipeline. For more information, see Creating and managing OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UpdatePipelineResponse' '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '483': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' '484': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' parameters: - name: PipelineName in: path required: true description: The name of the pipeline to update. schema: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 requestBody: required: true content: application/json: schema: type: object properties: MinUnits: description: 'The minimum pipeline capacity, in Ingestion Compute Units (ICUs).' type: integer minimum: 1 maximum: 96 MaxUnits: description: 'The maximum pipeline capacity, in Ingestion Compute Units (ICUs)' type: integer minimum: 1 maximum: 96 PipelineConfigurationBody: description: 'The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.' type: string minLength: 1 maxLength: 24000 LogPublishingOptions: description: 'Container for the values required to configure logging for the pipeline. If you don''t specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.' type: object properties: IsLoggingEnabled: allOf: - $ref: '#/components/schemas/Boolean' - description: Whether logs should be published. CloudWatchLogDestination: allOf: - $ref: '#/components/schemas/CloudWatchLogDestination' - description: The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true. parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' /2022-01-01/osis/validatePipeline: post: operationId: ValidatePipeline description: 'Checks whether an OpenSearch Ingestion pipeline configuration is valid prior to creation. For more information, see Creating and managing OpenSearch Ingestion pipelines.' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ValidatePipelineResponse' '480': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' '481': description: InternalException content: application/json: schema: $ref: '#/components/schemas/InternalException' '482': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' parameters: [] requestBody: required: true content: application/json: schema: type: object required: - PipelineConfigurationBody properties: PipelineConfigurationBody: description: 'The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.' type: string minLength: 1 maxLength: 24000 parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' components: parameters: X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 schemas: CreatePipelineResponse: type: object properties: Pipeline: allOf: - $ref: '#/components/schemas/Pipeline' - description: Container for information about the created pipeline. Boolean: type: boolean CloudWatchLogDestination: type: object required: - LogGroup properties: LogGroup: allOf: - $ref: '#/components/schemas/LogGroup' - description: 'The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.' description: The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch. SubnetIds: type: array items: $ref: '#/components/schemas/SubnetId' minItems: 1 maxItems: 12 SecurityGroupIds: type: array items: $ref: '#/components/schemas/SecurityGroupId' minItems: 1 maxItems: 12 Tag: type: object required: - Key - Value properties: Key: allOf: - $ref: '#/components/schemas/TagKey' - description: The tag key. Tag keys must be unique for the pipeline to which they are attached. Value: allOf: - $ref: '#/components/schemas/TagValue' - description: 'The value assigned to the corresponding tag key. Tag values can be null and don''t have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity ' description: A tag (key-value pair) for an OpenSearch Ingestion pipeline. LimitExceededException: {} ValidationException: {} InternalException: {} AccessDeniedException: {} ResourceAlreadyExistsException: {} DeletePipelineResponse: type: object properties: {} ResourceNotFoundException: {} ConflictException: {} GetPipelineResponse: type: object properties: Pipeline: allOf: - $ref: '#/components/schemas/Pipeline' - description: Detailed information about the requested pipeline. GetPipelineBlueprintResponse: type: object properties: Blueprint: allOf: - $ref: '#/components/schemas/PipelineBlueprint' - description: The requested blueprint in YAML format. GetPipelineChangeProgressResponse: type: object properties: ChangeProgressStatuses: allOf: - $ref: '#/components/schemas/ChangeProgressStatusList' - description: The current status of the change happening on the pipeline. ListPipelineBlueprintsResponse: type: object properties: Blueprints: allOf: - $ref: '#/components/schemas/PipelineBlueprintsSummaryList' - description: A list of available blueprints for Data Prepper. InvalidPaginationTokenException: {} ListPipelinesResponse: type: object properties: NextToken: allOf: - $ref: '#/components/schemas/NextToken' - description: 'When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.' Pipelines: allOf: - $ref: '#/components/schemas/PipelineSummaryList' - description: A list of all existing Data Prepper pipelines. ListTagsForResourceResponse: type: object properties: Tags: allOf: - $ref: '#/components/schemas/TagList' - description: A list of tags associated with the given pipeline. StartPipelineResponse: type: object properties: Pipeline: $ref: '#/components/schemas/Pipeline' StopPipelineResponse: type: object properties: Pipeline: $ref: '#/components/schemas/Pipeline' TagResourceResponse: type: object properties: {} UntagResourceResponse: type: object properties: {} String: type: string UpdatePipelineResponse: type: object properties: Pipeline: allOf: - $ref: '#/components/schemas/Pipeline' - description: Container for information about the updated pipeline. ValidatePipelineResponse: type: object properties: isValid: allOf: - $ref: '#/components/schemas/Boolean' - description: A boolean indicating whether or not the pipeline configuration is valid. Errors: allOf: - $ref: '#/components/schemas/ValidationMessageList' - description: A list of errors if the configuration is invalid. ChangeProgressStageStatuses: type: string enum: - PENDING - IN_PROGRESS - COMPLETED - FAILED Timestamp: type: string format: date-time ChangeProgressStage: type: object properties: Name: allOf: - $ref: '#/components/schemas/String' - description: The name of the stage. Status: allOf: - $ref: '#/components/schemas/ChangeProgressStageStatuses' - description: The current status of the stage that the change is in. Description: allOf: - $ref: '#/components/schemas/String' - description: A description of the stage. LastUpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The most recent updated timestamp of the stage. description: Progress details for a specific stage of a pipeline configuration change. ChangeProgressStageList: type: array items: $ref: '#/components/schemas/ChangeProgressStage' ChangeProgressStatuses: type: string enum: - PENDING - IN_PROGRESS - COMPLETED - FAILED Integer: type: integer ChangeProgressStatus: type: object properties: StartTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: The time at which the configuration change is made on the pipeline. Status: allOf: - $ref: '#/components/schemas/ChangeProgressStatuses' - description: The overall status of the pipeline configuration change. TotalNumberOfStages: allOf: - $ref: '#/components/schemas/Integer' - description: The total number of stages required for the pipeline configuration change. ChangeProgressStages: allOf: - $ref: '#/components/schemas/ChangeProgressStageList' - description: Information about the stages that the pipeline is going through to perform the configuration change. description: The progress details of a pipeline configuration change. ChangeProgressStatusList: type: array items: $ref: '#/components/schemas/ChangeProgressStatus' LogGroup: type: string pattern: '\/aws\/vendedlogs\/[\.\-_/#A-Za-z0-9]+' minLength: 1 maxLength: 512 PipelineName: type: string pattern: '[a-z][a-z0-9\-]+' minLength: 3 maxLength: 28 PipelineUnits: type: integer minimum: 1 maximum: 96 PipelineConfigurationBody: type: string minLength: 1 maxLength: 24000 LogPublishingOptions: type: object properties: IsLoggingEnabled: allOf: - $ref: '#/components/schemas/Boolean' - description: Whether logs should be published. CloudWatchLogDestination: allOf: - $ref: '#/components/schemas/CloudWatchLogDestination' - description: The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if IsLoggingEnabled is set to true. description: 'Container for the values required to configure logging for the pipeline. If you don''t specify these values, OpenSearch Ingestion will not publish logs from your application to CloudWatch Logs.' VpcOptions: type: object required: - SubnetIds properties: SubnetIds: allOf: - $ref: '#/components/schemas/SubnetIds' - description: A list of subnet IDs associated with the VPC endpoint. SecurityGroupIds: allOf: - $ref: '#/components/schemas/SecurityGroupIds' - description: A list of security groups associated with the VPC endpoint. description: Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint. TagList: type: array items: $ref: '#/components/schemas/Tag' CreatePipelineRequest: type: object required: - PipelineName - MinUnits - MaxUnits - PipelineConfigurationBody title: CreatePipelineRequest properties: PipelineName: allOf: - $ref: '#/components/schemas/PipelineName' - description: The name of the OpenSearch Ingestion pipeline to create. Pipeline names are unique across the pipelines owned by an account within an Amazon Web Services Region. MinUnits: allOf: - $ref: '#/components/schemas/PipelineUnits' - description: 'The minimum pipeline capacity, in Ingestion Compute Units (ICUs).' MaxUnits: allOf: - $ref: '#/components/schemas/PipelineUnits' - description: 'The maximum pipeline capacity, in Ingestion Compute Units (ICUs).' PipelineConfigurationBody: allOf: - $ref: '#/components/schemas/PipelineConfigurationBody' - description: 'The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.' LogPublishingOptions: allOf: - $ref: '#/components/schemas/LogPublishingOptions' - description: Key-value pairs to configure log publishing. VpcOptions: allOf: - $ref: '#/components/schemas/VpcOptions' - description: 'Container for the values required to configure VPC access for the pipeline. If you don''t specify these values, OpenSearch Ingestion creates the pipeline with a public endpoint.' Tags: allOf: - $ref: '#/components/schemas/TagList' - description: List of tags to add to the pipeline upon creation. Pipeline: type: object properties: PipelineName: allOf: - $ref: '#/components/schemas/String' - description: The name of the pipeline. PipelineArn: allOf: - $ref: '#/components/schemas/String' - description: The Amazon Resource Name (ARN) of the pipeline. MinUnits: allOf: - $ref: '#/components/schemas/Integer' - description: 'The minimum pipeline capacity, in Ingestion Compute Units (ICUs).' MaxUnits: allOf: - $ref: '#/components/schemas/Integer' - description: 'The maximum pipeline capacity, in Ingestion Compute Units (ICUs).' Status: allOf: - $ref: '#/components/schemas/PipelineStatus' - description: The current status of the pipeline. StatusReason: allOf: - $ref: '#/components/schemas/PipelineStatusReason' - description: The reason for the current status of the pipeline. PipelineConfigurationBody: allOf: - $ref: '#/components/schemas/String' - description: The Data Prepper pipeline configuration in YAML format. CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time when the pipeline was created. LastUpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time when the pipeline was last updated. IngestEndpointUrls: allOf: - $ref: '#/components/schemas/IngestEndpointUrlsList' - description: 'The ingestion endpoints for the pipeline, which you can send data to.' LogPublishingOptions: allOf: - $ref: '#/components/schemas/LogPublishingOptions' - description: Key-value pairs that represent log publishing settings. VpcEndpoints: allOf: - $ref: '#/components/schemas/VpcEndpointsList' - description: The VPC interface endpoints that have access to the pipeline. description: Information about an existing OpenSearch Ingestion pipeline. DeletePipelineRequest: type: object title: DeletePipelineRequest properties: {} GetPipelineBlueprintRequest: type: object title: GetPipelineBlueprintRequest properties: {} PipelineBlueprint: type: object properties: BlueprintName: allOf: - $ref: '#/components/schemas/String' - description: The name of the blueprint. PipelineConfigurationBody: allOf: - $ref: '#/components/schemas/String' - description: The YAML configuration of the blueprint. description: Container for information about an OpenSearch Ingestion blueprint. GetPipelineChangeProgressRequest: type: object title: GetPipelineChangeProgressRequest properties: {} GetPipelineRequest: type: object title: GetPipelineRequest properties: {} IngestEndpointUrlsList: type: array items: $ref: '#/components/schemas/String' ListPipelineBlueprintsRequest: type: object title: ListPipelineBlueprintsRequest properties: {} PipelineBlueprintsSummaryList: type: array items: $ref: '#/components/schemas/PipelineBlueprintSummary' MaxResults: type: integer minimum: 1 maximum: 100 NextToken: type: string pattern: '^([\s\S]*)$' minLength: 0 maxLength: 3000 ListPipelinesRequest: type: object title: ListPipelinesRequest properties: {} PipelineSummaryList: type: array items: $ref: '#/components/schemas/PipelineSummary' PipelineArn: type: string pattern: '^arn:(aws|aws\-cn|aws\-us\-gov|aws\-iso|aws\-iso\-b):osis:.+:pipeline\/.+$' minLength: 46 maxLength: 76 ListTagsForResourceRequest: type: object title: ListTagsForResourceRequest properties: {} PipelineStatus: type: string enum: - CREATING - ACTIVE - UPDATING - DELETING - CREATE_FAILED - UPDATE_FAILED - STARTING - START_FAILED - STOPPING - STOPPED PipelineStatusReason: type: object properties: Description: allOf: - $ref: '#/components/schemas/String' - description: A description of why a pipeline has a certain status. description: Information about a pipeline's current status. VpcEndpointsList: type: array items: $ref: '#/components/schemas/VpcEndpoint' PipelineBlueprintSummary: type: object properties: BlueprintName: allOf: - $ref: '#/components/schemas/String' - description: The name of the blueprint. description: A summary of an OpenSearch Ingestion blueprint. PipelineSummary: type: object properties: Status: allOf: - $ref: '#/components/schemas/PipelineStatus' - description: The current status of the pipeline. StatusReason: $ref: '#/components/schemas/PipelineStatusReason' PipelineName: allOf: - $ref: '#/components/schemas/PipelineName' - description: The name of the pipeline. PipelineArn: allOf: - $ref: '#/components/schemas/PipelineArn' - description: The Amazon Resource Name (ARN) of the pipeline. MinUnits: allOf: - $ref: '#/components/schemas/PipelineUnits' - description: 'The minimum pipeline capacity, in Ingestion Compute Units (ICUs).' MaxUnits: allOf: - $ref: '#/components/schemas/PipelineUnits' - description: 'The maximum pipeline capacity, in Ingestion Compute Units (ICUs).' CreatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time when the pipeline was created. LastUpdatedAt: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time when the pipeline was last updated. description: Summary information for an OpenSearch Ingestion pipeline. SecurityGroupId: type: string pattern: 'sg-\w{8}(\w{9})?' minLength: 11 maxLength: 20 StartPipelineRequest: type: object title: StartPipelineRequest properties: {} StopPipelineRequest: type: object title: StopPipelineRequest properties: {} StringList: type: array items: $ref: '#/components/schemas/String' SubnetId: type: string pattern: 'subnet-\w{8}(\w{9})?' minLength: 15 maxLength: 24 TagKey: type: string pattern: .* minLength: 1 maxLength: 128 TagValue: type: string pattern: .* minLength: 0 maxLength: 256 TagResourceRequest: type: object required: - Tags title: TagResourceRequest properties: Tags: allOf: - $ref: '#/components/schemas/TagList' - description: The list of key-value tags to add to the pipeline. UntagResourceRequest: type: object required: - TagKeys title: UntagResourceRequest properties: TagKeys: allOf: - $ref: '#/components/schemas/StringList' - description: The tag keys to remove. UpdatePipelineRequest: type: object title: UpdatePipelineRequest properties: MinUnits: allOf: - $ref: '#/components/schemas/PipelineUnits' - description: 'The minimum pipeline capacity, in Ingestion Compute Units (ICUs).' MaxUnits: allOf: - $ref: '#/components/schemas/PipelineUnits' - description: 'The maximum pipeline capacity, in Ingestion Compute Units (ICUs)' PipelineConfigurationBody: allOf: - $ref: '#/components/schemas/PipelineConfigurationBody' - description: 'The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.' LogPublishingOptions: allOf: - $ref: '#/components/schemas/LogPublishingOptions' - description: Key-value pairs to configure log publishing. ValidatePipelineRequest: type: object required: - PipelineConfigurationBody title: ValidatePipelineRequest properties: PipelineConfigurationBody: allOf: - $ref: '#/components/schemas/PipelineConfigurationBody' - description: 'The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \n.' ValidationMessageList: type: array items: $ref: '#/components/schemas/ValidationMessage' ValidationMessage: type: object properties: Message: allOf: - $ref: '#/components/schemas/String' - description: The validation message. description: A validation message associated with a ValidatePipeline request in OpenSearch Ingestion. VpcEndpoint: type: object properties: VpcEndpointId: allOf: - $ref: '#/components/schemas/String' - description: The unique identifier of the endpoint. VpcId: allOf: - $ref: '#/components/schemas/String' - description: The ID for your VPC. Amazon Web Services PrivateLink generates this value when you create a VPC. VpcOptions: allOf: - $ref: '#/components/schemas/VpcOptions' - description: 'Information about the VPC, including associated subnets and security groups.' description: An OpenSearch Ingestion-managed VPC endpoint that will access one or more pipelines. security: - hmac: []