Class: Aws::Amplify::Types::CreateWebhookRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb

Overview

Note:

When making an API call, you may pass CreateWebhookRequest data as a hash:

{
  app_id: "AppId", # required
  branch_name: "BranchName", # required
  description: "Description",
}

The request structure for the create webhook request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The unique ID for an Amplify app.

Returns:

  • (String)


995
996
997
998
999
1000
1001
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 995

class CreateWebhookRequest < Struct.new(
  :app_id,
  :branch_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#branch_nameString

The name for a branch that is part of an Amplify app.

Returns:

  • (String)


995
996
997
998
999
1000
1001
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 995

class CreateWebhookRequest < Struct.new(
  :app_id,
  :branch_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description for a webhook.

Returns:

  • (String)


995
996
997
998
999
1000
1001
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 995

class CreateWebhookRequest < Struct.new(
  :app_id,
  :branch_name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end