1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// A resource that is used to connect third-party source providers with services
// like CodePipeline. Note: A connection created through CloudFormation, the CLI,
// or the SDK is in `PENDING` status by default. You can make its status
// `AVAILABLE` by updating the connection in the console.
type Connection struct {
// The Amazon Resource Name (ARN) of the connection. The ARN is used as the
// connection reference when the connection is shared between Amazon Web Services.
// The ARN is never reused if the connection is deleted.
ConnectionArn *string
// The name of the connection. Connection names must be unique in an Amazon Web
// Services account.
ConnectionName *string
// The current status of the connection.
ConnectionStatus ConnectionStatus
// The Amazon Resource Name (ARN) of the host associated with the connection.
HostArn *string
// The identifier of the external provider where your third-party code repository
// is configured. For Bitbucket, this is the account ID of the owner of the
// Bitbucket repository.
OwnerAccountId *string
// The name of the external provider where your third-party code repository is
// configured.
ProviderType ProviderType
noSmithyDocumentSerde
}
// A resource that represents the infrastructure where a third-party provider is
// installed. The host is used when you create connections to an installed
// third-party provider type, such as GitHub Enterprise Server. You create one host
// for all connections to that provider. A host created through the CLI or the SDK
// is in `PENDING` status by default. You can make its status `AVAILABLE` by
// setting up the host in the console.
type Host struct {
// The Amazon Resource Name (ARN) of the host.
HostArn *string
// The name of the host.
Name *string
// The endpoint of the infrastructure where your provider type is installed.
ProviderEndpoint *string
// The name of the installed provider to be associated with your connection. The
// host resource represents the infrastructure where your provider type is
// installed. The valid provider type is GitHub Enterprise Server.
ProviderType ProviderType
// The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING,
// VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
Status *string
// The status description for the host.
StatusMessage *string
// The VPC configuration provisioned for the host.
VpcConfiguration *VpcConfiguration
noSmithyDocumentSerde
}
// Information about the repository link resource, such as the repository link
// ARN, the associated connection ARN, encryption key ARN, and owner ID.
type RepositoryLinkInfo struct {
// The Amazon Resource Name (ARN) of the connection associated with the repository
// link.
//
// This member is required.
ConnectionArn *string
// The owner ID for the repository associated with the repository link, such as
// the owner ID in GitHub.
//
// This member is required.
OwnerId *string
// The provider type for the connection, such as GitHub, associated with the
// repository link.
//
// This member is required.
ProviderType ProviderType
// The Amazon Resource Name (ARN) of the repository link.
//
// This member is required.
RepositoryLinkArn *string
// The ID of the repository link.
//
// This member is required.
RepositoryLinkId *string
// The name of the repository associated with the repository link.
//
// This member is required.
RepositoryName *string
// The Amazon Resource Name (ARN) of the encryption key for the repository
// associated with the repository link.
EncryptionKeyArn *string
noSmithyDocumentSerde
}
// Information about a repository sync attempt for a repository with a sync
// configuration.
type RepositorySyncAttempt struct {
// The events associated with a specific sync attempt.
//
// This member is required.
Events []RepositorySyncEvent
// The start time of a specific sync attempt.
//
// This member is required.
StartedAt *time.Time
// The status of a specific sync attempt. The following are valid statuses:
// - INITIATED - A repository sync attempt has been created and will begin soon.
// - IN_PROGRESS - A repository sync attempt has started and work is being done
// to reconcile the branch.
// - SUCCEEDED - The repository sync attempt has completed successfully.
// - FAILED - The repository sync attempt has failed.
// - QUEUED - The repository sync attempt didn't execute and was queued.
//
// This member is required.
Status RepositorySyncStatus
noSmithyDocumentSerde
}
// The definition for a repository with a sync configuration.
type RepositorySyncDefinition struct {
// The branch specified for a repository sync definition.
//
// This member is required.
Branch *string
// The configuration file for a repository sync definition. This value comes from
// creating or updating the config-file field of a sync-configuration .
//
// This member is required.
Directory *string
// The parent resource specified for a repository sync definition.
//
// This member is required.
Parent *string
// The target resource specified for a repository sync definition. In some cases,
// such as CFN_STACK_SYNC, the parent and target resource are the same.
//
// This member is required.
Target *string
noSmithyDocumentSerde
}
// Information about a repository sync event.
type RepositorySyncEvent struct {
// A description of a repository sync event.
//
// This member is required.
Event *string
// The time that a repository sync event occurred.
//
// This member is required.
Time *time.Time
// The event type for a repository sync event.
//
// This member is required.
Type *string
// The ID for a repository sync event.
ExternalId *string
noSmithyDocumentSerde
}
// Information about a resource sync attempt.
type ResourceSyncAttempt struct {
// The events related to a resource sync attempt.
//
// This member is required.
Events []ResourceSyncEvent
// The current state of the resource as defined in the resource's config-file in
// the linked repository.
//
// This member is required.
InitialRevision *Revision
// The start time for a resource sync attempt.
//
// This member is required.
StartedAt *time.Time
// The status for a resource sync attempt. The follow are valid statuses:
// - SYNC-INITIATED - A resource sync attempt has been created and will begin
// soon.
// - SYNCING - Syncing has started and work is being done to reconcile state.
// - SYNCED - Syncing has completed successfully.
// - SYNC_FAILED - A resource sync attempt has failed.
//
// This member is required.
Status ResourceSyncStatus
// The name of the Amazon Web Services resource that is attempted to be
// synchronized.
//
// This member is required.
Target *string
// The desired state of the resource as defined in the resource's config-file in
// the linked repository. Git sync attempts to update the resource to this state.
//
// This member is required.
TargetRevision *Revision
noSmithyDocumentSerde
}
// Information about a resource sync event for the resource associated with a sync
// configuration.
type ResourceSyncEvent struct {
// The event for a resource sync event.
//
// This member is required.
Event *string
// The time that a resource sync event occurred.
//
// This member is required.
Time *time.Time
// The type of resource sync event.
//
// This member is required.
Type *string
// The ID for a resource sync event.
ExternalId *string
noSmithyDocumentSerde
}
// Information about the revision for a specific sync event, such as the branch,
// owner ID, and name of the repository.
type Revision struct {
// The branch name for a specific revision.
//
// This member is required.
Branch *string
// The directory, if any, for a specific revision.
//
// This member is required.
Directory *string
// The owner ID for a specific revision, such as the GitHub owner ID for a GitHub
// repository.
//
// This member is required.
OwnerId *string
// The provider type for a revision, such as GitHub.
//
// This member is required.
ProviderType ProviderType
// The repository name for a specific revision.
//
// This member is required.
RepositoryName *string
// The SHA, such as the commit ID, for a specific revision.
//
// This member is required.
Sha *string
noSmithyDocumentSerde
}
// Information about a blocker for a sync event.
type SyncBlocker struct {
// The creation time for a specific sync blocker.
//
// This member is required.
CreatedAt *time.Time
// The provided reason for a specific sync blocker.
//
// This member is required.
CreatedReason *string
// The ID for a specific sync blocker.
//
// This member is required.
Id *string
// The status for a specific sync blocker.
//
// This member is required.
Status BlockerStatus
// The sync blocker type.
//
// This member is required.
Type BlockerType
// The contexts for a specific sync blocker.
Contexts []SyncBlockerContext
// The time that a specific sync blocker was resolved.
ResolvedAt *time.Time
// The resolved reason for a specific sync blocker.
ResolvedReason *string
noSmithyDocumentSerde
}
// The context for a specific sync blocker.
type SyncBlockerContext struct {
// The key provided for a context key-value pair for a specific sync blocker.
//
// This member is required.
Key *string
// The value provided for a context key-value pair for a specific sync blocker.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// A summary for sync blockers.
type SyncBlockerSummary struct {
// The resource name for sync blocker summary.
//
// This member is required.
ResourceName *string
// The latest events for a sync blocker summary.
LatestBlockers []SyncBlocker
// The parent resource name for a sync blocker summary.
ParentResourceName *string
noSmithyDocumentSerde
}
// Information, such as repository, branch, provider, and resource names for a
// specific sync configuration.
type SyncConfiguration struct {
// The branch associated with a specific sync configuration.
//
// This member is required.
Branch *string
// The owner ID for the repository associated with a specific sync configuration,
// such as the owner ID in GitHub.
//
// This member is required.
OwnerId *string
// The connection provider type associated with a specific sync configuration,
// such as GitHub.
//
// This member is required.
ProviderType ProviderType
// The ID of the repository link associated with a specific sync configuration.
//
// This member is required.
RepositoryLinkId *string
// The name of the repository associated with a specific sync configuration.
//
// This member is required.
RepositoryName *string
// The name of the connection resource associated with a specific sync
// configuration.
//
// This member is required.
ResourceName *string
// The Amazon Resource Name (ARN) of the IAM role associated with a specific sync
// configuration.
//
// This member is required.
RoleArn *string
// The type of sync for a specific sync configuration.
//
// This member is required.
SyncType SyncConfigurationType
// The file path to the configuration file associated with a specific sync
// configuration. The path should point to an actual file in the sync
// configurations linked repository.
ConfigFile *string
noSmithyDocumentSerde
}
// A tag is a key-value pair that is used to manage the resource. This tag is
// available for use by Amazon Web Services services that support tags.
type Tag struct {
// The tag's key.
//
// This member is required.
Key *string
// The tag's value.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// The VPC configuration provisioned for the host.
type VpcConfiguration struct {
// The ID of the security group or security groups associated with the Amazon VPC
// connected to the infrastructure where your provider type is installed.
//
// This member is required.
SecurityGroupIds []string
// The ID of the subnet or subnets associated with the Amazon VPC connected to the
// infrastructure where your provider type is installed.
//
// This member is required.
SubnetIds []string
// The ID of the Amazon VPC connected to the infrastructure where your provider
// type is installed.
//
// This member is required.
VpcId *string
// The value of the Transport Layer Security (TLS) certificate associated with the
// infrastructure where your provider type is installed.
TlsCertificate *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|