openapi: 3.1.0 info: title: Amazon Fraud Detector Detectors Labels API description: Amazon Fraud Detector is a fully managed service that uses machine learning to identify potentially fraudulent activities. version: '2019-11-15' contact: name: AWS Support url: https://aws.amazon.com/premiumsupport/ license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 servers: - url: https://frauddetector.{region}.amazonaws.com variables: region: default: us-east-1 security: - awsSigV4: [] tags: - name: Labels description: Fraud and legitimate transaction labels paths: /labels: put: operationId: putLabel summary: Put Label description: Creates or updates label. A label classifies an event as fraudulent or legitimate. tags: - Labels requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: type: string tags: type: array items: $ref: '#/components/schemas/Tag' required: - name responses: '200': description: Success '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' x-microcks-operation: delay: 0 dispatcher: FALLBACK components: schemas: ErrorResponse: type: object description: Standard error response from the Amazon Fraud Detector API. properties: message: type: string code: type: string Tag: type: object description: A metadata label applied to a Fraud Detector resource. properties: key: type: string value: type: string required: - key - value securitySchemes: awsSigV4: type: apiKey in: header name: Authorization description: AWS Signature Version 4