Module: Aws::CodeStarNotifications::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-codestarnotifications/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

AccessDeniedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AccessDeniedException')
ClientRequestToken =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ClientRequestToken')
ConcurrentModificationException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ConcurrentModificationException')
ConfigurationException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ConfigurationException')
CreateNotificationRuleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateNotificationRuleRequest')
CreateNotificationRuleResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'CreateNotificationRuleResult')
CreatedTimestamp =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'CreatedTimestamp')
DeleteNotificationRuleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteNotificationRuleRequest')
DeleteNotificationRuleResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteNotificationRuleResult')
DeleteTargetRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteTargetRequest')
DeleteTargetResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DeleteTargetResult')
DescribeNotificationRuleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeNotificationRuleRequest')
DescribeNotificationRuleResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'DescribeNotificationRuleResult')
DetailType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'DetailType')
EventTypeBatch =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'EventTypeBatch')
EventTypeId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EventTypeId')
EventTypeIds =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'EventTypeIds')
EventTypeName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'EventTypeName')
EventTypeSummary =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EventTypeSummary')
ForceUnsubscribeAll =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'ForceUnsubscribeAll')
InvalidNextTokenException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidNextTokenException')
LastModifiedTimestamp =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::TimestampShape.new(name: 'LastModifiedTimestamp')
LimitExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'LimitExceededException')
ListEventTypesFilter =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListEventTypesFilter')
ListEventTypesFilterName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ListEventTypesFilterName')
ListEventTypesFilterValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ListEventTypesFilterValue')
ListEventTypesFilters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'ListEventTypesFilters')
ListEventTypesRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListEventTypesRequest')
ListEventTypesResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListEventTypesResult')
ListNotificationRulesFilter =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListNotificationRulesFilter')
ListNotificationRulesFilterName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ListNotificationRulesFilterName')
ListNotificationRulesFilterValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ListNotificationRulesFilterValue')
ListNotificationRulesFilters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'ListNotificationRulesFilters')
ListNotificationRulesRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListNotificationRulesRequest')
ListNotificationRulesResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListNotificationRulesResult')
ListTagsForResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
ListTagsForResourceResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
ListTargetsFilter =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTargetsFilter')
ListTargetsFilterName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ListTargetsFilterName')
ListTargetsFilterValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ListTargetsFilterValue')
ListTargetsFilters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'ListTargetsFilters')
ListTargetsRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTargetsRequest')
ListTargetsResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ListTargetsResult')
MaxResults =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'MaxResults')
Message =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'Message')
NextToken =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NextToken')
NotificationRuleArn =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NotificationRuleArn')
NotificationRuleBatch =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'NotificationRuleBatch')
NotificationRuleCreatedBy =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NotificationRuleCreatedBy')
NotificationRuleId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NotificationRuleId')
NotificationRuleName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NotificationRuleName')
NotificationRuleResource =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NotificationRuleResource')
NotificationRuleStatus =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'NotificationRuleStatus')
NotificationRuleSummary =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'NotificationRuleSummary')
ResourceAlreadyExistsException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
ResourceNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ResourceNotFoundException')
ResourceType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ResourceType')
ServiceName =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'ServiceName')
SubscribeRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SubscribeRequest')
SubscribeResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SubscribeResult')
TagKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagKey')
TagKeys =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TagKeys')
TagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceRequest')
TagResourceResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TagResourceResult')
TagValue =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TagValue')
Tags =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::MapShape.new(name: 'Tags')
Target =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'Target')
TargetAddress =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TargetAddress')
TargetStatus =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TargetStatus')
TargetSummary =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'TargetSummary')
TargetType =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'TargetType')
Targets =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'Targets')
TargetsBatch =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::ListShape.new(name: 'TargetsBatch')
UnsubscribeRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UnsubscribeRequest')
UnsubscribeResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UnsubscribeResult')
UntagResourceRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceRequest')
UntagResourceResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UntagResourceResult')
UpdateNotificationRuleRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateNotificationRuleRequest')
UpdateNotificationRuleResult =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'UpdateNotificationRuleResult')
ValidationException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ValidationException')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2019-10-15"

  api. = {
    "apiVersion" => "2019-10-15",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "codestar-notifications",
    "jsonVersion" => "1.1",
    "protocol" => "rest-json",
    "protocols" => ["rest-json"],
    "serviceFullName" => "AWS CodeStar Notifications",
    "serviceId" => "codestar notifications",
    "signatureVersion" => "v4",
    "signingName" => "codestar-notifications",
    "uid" => "codestar-notifications-2019-10-15",
  }

  api.add_operation(:create_notification_rule, Seahorse::Model::Operation.new.tap do |o|
    o.name = "CreateNotificationRule"
    o.http_method = "POST"
    o.http_request_uri = "/createNotificationRule"
    o.input = Shapes::ShapeRef.new(shape: CreateNotificationRuleRequest)
    o.output = Shapes::ShapeRef.new(shape: CreateNotificationRuleResult)
    o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ConfigurationException)
    o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
  end)

  api.add_operation(:delete_notification_rule, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteNotificationRule"
    o.http_method = "POST"
    o.http_request_uri = "/deleteNotificationRule"
    o.input = Shapes::ShapeRef.new(shape: DeleteNotificationRuleRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteNotificationRuleResult)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
  end)

  api.add_operation(:delete_target, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DeleteTarget"
    o.http_method = "POST"
    o.http_request_uri = "/deleteTarget"
    o.input = Shapes::ShapeRef.new(shape: DeleteTargetRequest)
    o.output = Shapes::ShapeRef.new(shape: DeleteTargetResult)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
  end)

  api.add_operation(:describe_notification_rule, Seahorse::Model::Operation.new.tap do |o|
    o.name = "DescribeNotificationRule"
    o.http_method = "POST"
    o.http_request_uri = "/describeNotificationRule"
    o.input = Shapes::ShapeRef.new(shape: DescribeNotificationRuleRequest)
    o.output = Shapes::ShapeRef.new(shape: DescribeNotificationRuleResult)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
  end)

  api.add_operation(:list_event_types, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListEventTypes"
    o.http_method = "POST"
    o.http_request_uri = "/listEventTypes"
    o.input = Shapes::ShapeRef.new(shape: ListEventTypesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListEventTypesResult)
    o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_notification_rules, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListNotificationRules"
    o.http_method = "POST"
    o.http_request_uri = "/listNotificationRules"
    o.input = Shapes::ShapeRef.new(shape: ListNotificationRulesRequest)
    o.output = Shapes::ShapeRef.new(shape: ListNotificationRulesResult)
    o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListTagsForResource"
    o.http_method = "POST"
    o.http_request_uri = "/listTagsForResource"
    o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
  end)

  api.add_operation(:list_targets, Seahorse::Model::Operation.new.tap do |o|
    o.name = "ListTargets"
    o.http_method = "POST"
    o.http_request_uri = "/listTargets"
    o.input = Shapes::ShapeRef.new(shape: ListTargetsRequest)
    o.output = Shapes::ShapeRef.new(shape: ListTargetsResult)
    o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o[:pager] = Aws::Pager.new(
      limit_key: "max_results",
      tokens: {
        "next_token" => "next_token"
      }
    )
  end)

  api.add_operation(:subscribe, Seahorse::Model::Operation.new.tap do |o|
    o.name = "Subscribe"
    o.http_method = "POST"
    o.http_request_uri = "/subscribe"
    o.input = Shapes::ShapeRef.new(shape: SubscribeRequest)
    o.output = Shapes::ShapeRef.new(shape: SubscribeResult)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ConfigurationException)
  end)

  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "TagResource"
    o.http_method = "POST"
    o.http_request_uri = "/tagResource"
    o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
  end)

  api.add_operation(:unsubscribe, Seahorse::Model::Operation.new.tap do |o|
    o.name = "Unsubscribe"
    o.http_method = "POST"
    o.http_request_uri = "/unsubscribe"
    o.input = Shapes::ShapeRef.new(shape: UnsubscribeRequest)
    o.output = Shapes::ShapeRef.new(shape: UnsubscribeResult)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
  end)

  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UntagResource"
    o.http_method = "POST"
    o.http_request_uri = "/untagResource/{resourceArn}"
    o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
    o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
  end)

  api.add_operation(:update_notification_rule, Seahorse::Model::Operation.new.tap do |o|
    o.name = "UpdateNotificationRule"
    o.http_method = "POST"
    o.http_request_uri = "/updateNotificationRule"
    o.input = Shapes::ShapeRef.new(shape: UpdateNotificationRuleRequest)
    o.output = Shapes::ShapeRef.new(shape: UpdateNotificationRuleResult)
    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: ConfigurationException)
  end)
end