Documentation ¶
Index ¶
- func NewResource() resource.Resource
- func ResourceSchema(ctx context.Context) schema.Schema
- type R2EventNotificationDeleteRequestBody
- type R2EventNotificationModel
- type R2EventNotificationResource
- func (r *R2EventNotificationResource) ConfigValidators(_ context.Context) []resource.ConfigValidator
- func (r *R2EventNotificationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *R2EventNotificationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *R2EventNotificationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *R2EventNotificationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *R2EventNotificationResource) ModifyPlan(_ context.Context, _ resource.ModifyPlanRequest, ...)
- func (r *R2EventNotificationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *R2EventNotificationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *R2EventNotificationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type R2EventNotificationRuleModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
Types ¶
type R2EventNotificationDeleteRequestBody ¶
type R2EventNotificationDeleteRequestBody struct {
RuleIds []string `json:"ruleIds"`
}
type R2EventNotificationModel ¶
type R2EventNotificationModel struct { AccountID types.String `tfsdk:"account_id" path:"account_id,required"` BucketName types.String `tfsdk:"bucket_name" path:"bucket_name,required"` QueueID types.String `tfsdk:"queue_id" path:"queue_id,required"` QueueName types.String `tfsdk:"queue_name" path:"queue_name,computed"` Description types.String `tfsdk:"description" path:"description,optional"` Rules customfield.NestedObjectSet[R2EventNotificationRuleModel] `tfsdk:"rules" path:"rules,required"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
type R2EventNotificationResource ¶
type R2EventNotificationResource struct {
// contains filtered or unexported fields
}
R2EventNotificationResource defines the resource implementation.
func (*R2EventNotificationResource) ConfigValidators ¶
func (r *R2EventNotificationResource) ConfigValidators(_ context.Context) []resource.ConfigValidator
func (*R2EventNotificationResource) Configure ¶
func (r *R2EventNotificationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*R2EventNotificationResource) Create ¶
func (r *R2EventNotificationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*R2EventNotificationResource) Delete ¶
func (r *R2EventNotificationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*R2EventNotificationResource) Metadata ¶
func (r *R2EventNotificationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*R2EventNotificationResource) ModifyPlan ¶
func (r *R2EventNotificationResource) ModifyPlan(_ context.Context, _ resource.ModifyPlanRequest, _ *resource.ModifyPlanResponse)
func (*R2EventNotificationResource) Read ¶
func (r *R2EventNotificationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*R2EventNotificationResource) Schema ¶
func (r *R2EventNotificationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*R2EventNotificationResource) Update ¶
func (r *R2EventNotificationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type R2EventNotificationRuleModel ¶
type R2EventNotificationRuleModel struct { Actions customfield.Set[types.String] `tfsdk:"actions" path:"actions,required"` RuleID types.String `tfsdk:"rule_id" path:"rule_id,computed"` Prefix types.String `tfsdk:"prefix" path:"prefix,computed_optional"` Suffix types.String `tfsdk:"suffix" path:"suffix,computed_optional"` CreatedAt types.String `tfsdk:"created_at" path:"created_at,computed"` }
Click to show internal directories.
Click to hide internal directories.